return instead of continue
This commit is contained in:
parent
3adf38105e
commit
634a0bbd30
|
@ -216,7 +216,7 @@ def fetch_and_import_stages(harvester, obj):
|
||||||
obj.state = "ERROR"
|
obj.state = "ERROR"
|
||||||
obj.save()
|
obj.save()
|
||||||
if obj.report_status:
|
if obj.report_status:
|
||||||
continue
|
return
|
||||||
if obj.state == 'ERROR':
|
if obj.state == 'ERROR':
|
||||||
obj.report_status = 'errored'
|
obj.report_status = 'errored'
|
||||||
elif obj.current == False:
|
elif obj.current == False:
|
||||||
|
|
Loading…
Reference in New Issue