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

don't filter out empty lines

This commit is contained in:
Kelly Brazil
2020-07-10 09:58:56 -07:00
parent a5ee9861b9
commit 3e53323514
+1 -1
View File
@@ -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