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

add check for top data

This commit is contained in:
Kelly Brazil
2022-05-27 13:48:13 -07:00
parent 5df1c1702b
commit fa18243491

View File

@ -453,6 +453,11 @@ def parse(
process_list.append(line.rstrip())
continue
if process_table and line.rstrip() == '':
continue
raise ParseError('Not top data')
except Exception as e:
yield raise_or_yield(ignore_exceptions, e, line)