1
0
mirror of https://github.com/kellyjonbrazil/jc.git synced 2026-04-24 20:56:11 +02:00

ignore blank lines

This commit is contained in:
Kelly Brazil
2022-01-04 16:43:38 -08:00
parent fdcf4338e0
commit 0b6a130779
+4
View File
@@ -145,6 +145,10 @@ def parse(data, raw=False, quiet=False, ignore_exceptions=False):
linecomplete = False
line = line.rstrip()
# ignore blank lines
if line == '':
continue
# linux output
if line.startswith(' File: '):
os_type = 'linux'