mirror of
https://github.com/kellyjonbrazil/jc.git
synced 2025-06-19 00:17:51 +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:
|
else:
|
||||||
delim = ': '
|
delim = ': '
|
||||||
|
|
||||||
for line in filter(None, data):
|
for line in data:
|
||||||
linedata = line.split(delim, maxsplit=1)
|
linedata = line.split(delim, maxsplit=1)
|
||||||
|
|
||||||
# bsd adds values to newlines, which need to be fixed up with this try/except block
|
# bsd adds values to newlines, which need to be fixed up with this try/except block
|
||||||
|
Reference in New Issue
Block a user