disable some warnings
This commit is contained in:
parent
1e01e76ac2
commit
2b3daa0227
4 changed files with 4 additions and 6 deletions
|
@ -53,7 +53,7 @@ def import_data(job_id):
|
|||
for item in job.items.all():
|
||||
try:
|
||||
item.resolve()
|
||||
except Exception as e:
|
||||
except Exception as e:# pylint: disable=broad-except
|
||||
logger.exception(e)
|
||||
item.fail_reason = 'Error loading book'
|
||||
item.save()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue