1
0
mirror of https://github.com/kellyjonbrazil/jc.git synced 2025-07-15 01:24:29 +02:00

fix for files with newlines in naked ls

This commit is contained in:
Kelly Brazil
2020-02-24 17:24:56 -08:00
parent b5a0d650b1
commit c7b7f1a5dc

View File

@ -296,7 +296,7 @@ def parse(data, raw=False, quiet=False):
next_is_parent = True
continue
if next_is_parent:
if next_is_parent and entry.endswith(':'):
parent = entry[:-1]
next_is_parent = False
continue