Missing continue in the list function when deleting unused attributes.

This commit is contained in:
Gareth J. Greenaway 2015-05-18 14:02:52 -07:00
parent 50730287bb
commit b207f2a433

View file

@ -72,6 +72,7 @@ def list_(show_all=False, return_yaml=True):
for item in schedule[job]:
if item not in SCHEDULE_CONF:
del schedule[job][item]
continue
if schedule[job][item] == 'true':
schedule[job][item] = True
if schedule[job][item] == 'false':