Remove tabs in lg.py

This commit is contained in:
Simon Marsh 2019-05-14 12:00:20 +01:00
parent 06a3265278
commit f66e26cd6e
Signed by: burble
GPG Key ID: 7B9FE8780CFB6593

4
lg.py
View File

@ -269,9 +269,9 @@ def summary(hosts, proto="ipv4"):
props["since"] = split[4] props["since"] = split[4]
if len(split) > 5: if len(split) > 5:
# if bird is configured for 'timeformat protocol iso long' # if bird is configured for 'timeformat protocol iso long'
# then the 5th column contains the time, rather than info # then the 5th column contains the time, rather than info
match = re.match(r'\d\d:\d\d:\d\d', split[5]) match = re.match(r'\d\d:\d\d:\d\d', split[5])
if match: if match:
props["info"] = ' '.join(split[6:]) if len(split) > 6 else "" props["info"] = ' '.join(split[6:]) if len(split) > 6 else ""
else: else: