mirror of
https://github.com/kellyjonbrazil/jc.git
synced 2025-06-17 00:07:37 +02:00
don't filter out empty lines
This commit is contained in:
@ -113,7 +113,7 @@ def parse(data, raw=False, quiet=False):
|
||||
else:
|
||||
delim = ': '
|
||||
|
||||
for line in filter(None, data):
|
||||
for line in data:
|
||||
linedata = line.split(delim, maxsplit=1)
|
||||
|
||||
# bsd adds values to newlines, which need to be fixed up with this try/except block
|
||||
|
Reference in New Issue
Block a user