mirror of
https://github.com/kellyjonbrazil/jc.git
synced 2025-07-15 01:24:29 +02:00
add check for top data
This commit is contained in:
@ -453,6 +453,11 @@ def parse(
|
|||||||
process_list.append(line.rstrip())
|
process_list.append(line.rstrip())
|
||||||
continue
|
continue
|
||||||
|
|
||||||
|
if process_table and line.rstrip() == '':
|
||||||
|
continue
|
||||||
|
|
||||||
|
raise ParseError('Not top data')
|
||||||
|
|
||||||
except Exception as e:
|
except Exception as e:
|
||||||
yield raise_or_yield(ignore_exceptions, e, line)
|
yield raise_or_yield(ignore_exceptions, e, line)
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user