From: Lou Berger Date: Fri, 13 Apr 2018 15:47:02 +0000 (-0400) Subject: lib: fix path the led to group_nl_converted being referenced when not set X-Git-Tag: frr-7.1-dev~151^2~89 X-Git-Url: https://git.puffer.fish/?a=commitdiff_plain;h=518874f48a9154b2a1cf7a0bf588a79b6f17baa5;p=mirror%2Ffrr.git lib: fix path the led to group_nl_converted being referenced when not set Signed-off-by: Lou Berger --- diff --git a/tests/topotests/lib/lutil.py b/tests/topotests/lib/lutil.py index d74d806f0b..fe13491483 100755 --- a/tests/topotests/lib/lutil.py +++ b/tests/topotests/lib/lutil.py @@ -208,6 +208,8 @@ Total %-4d %-4d %d\n\ if search_nl != None: group_nl = search_nl.group() group_nl_converted = " ".join(group_nl.splitlines()) + else: + group_nl_converted = None out = " ".join(out.splitlines()) search = re.search(regexp, out)