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

add break on footer condition

This commit is contained in:
Kelly Brazil
2019-11-15 19:02:57 -08:00
parent 3a52fb725a
commit 513bbeb464

View File

@ -122,7 +122,7 @@ def parse(data, raw=False, quiet=False):
raw_output = [] raw_output = []
for entry in cleandata[1:]: for entry in cleandata[1:]:
if entry.find('No jobs running.') != -1: if entry.find('No jobs running.') != -1 or entry.find('jobs listed.') != -1:
break break
else: else: