return instead of continue

This commit is contained in:
kindly 2013-03-19 01:21:20 +00:00
parent 3adf38105e
commit 634a0bbd30
1 changed files with 1 additions and 1 deletions

View File

@ -216,7 +216,7 @@ def fetch_and_import_stages(harvester, obj):
obj.state = "ERROR"
obj.save()
if obj.report_status:
continue
return
if obj.state == 'ERROR':
obj.report_status = 'errored'
elif obj.current == False: