aboutsummaryrefslogtreecommitdiffstats
path: root/python/sandcrawler/ingest_fileset.py
diff options
context:
space:
mode:
authorBryan Newbold <bnewbold@archive.org>2022-02-24 16:35:38 -0800
committerBryan Newbold <bnewbold@archive.org>2022-02-24 16:35:38 -0800
commit681eb8028f3e99796978288dcd10653909281f40 (patch)
treefe99f377d1dc304d20c63fc5eda3109e17fef4c0 /python/sandcrawler/ingest_fileset.py
parent7f7846b99042897afd5916b9263320c0e2775706 (diff)
downloadsandcrawler-681eb8028f3e99796978288dcd10653909281f40.tar.gz
sandcrawler-681eb8028f3e99796978288dcd10653909281f40.zip
small lint/typo/fmt fixes
Diffstat (limited to 'python/sandcrawler/ingest_fileset.py')
-rw-r--r--python/sandcrawler/ingest_fileset.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/python/sandcrawler/ingest_fileset.py b/python/sandcrawler/ingest_fileset.py
index dceca03..3acbece 100644
--- a/python/sandcrawler/ingest_fileset.py
+++ b/python/sandcrawler/ingest_fileset.py
@@ -146,9 +146,9 @@ class IngestFilesetWorker(IngestFileWorker):
result["status"] = "wayback-content-error"
result["error_message"] = str(e)[:1600]
return result
- except NotImplementedError:
- result['status'] = 'not-implemented'
- result['error_message'] = str(e)[:1600]
+ except NotImplementedError as e:
+ result["status"] = "not-implemented"
+ result["error_message"] = str(e)[:1600]
return result
html_biblio = None