mirror of
https://github.com/kellyjonbrazil/jc.git
synced 2025-08-08 22:36:48 +02:00
ignore blank lines
This commit is contained in:
@ -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'
|
||||
|
Reference in New Issue
Block a user