aboutsummaryrefslogtreecommitdiffstats
path: root/python/ingest_tool.py
diff options
context:
space:
mode:
authorBryan Newbold <bnewbold@archive.org>2021-10-26 13:35:36 -0700
committerBryan Newbold <bnewbold@archive.org>2021-10-26 13:35:36 -0700
commit600ad67925a748200ddf21d5aeabd157d2bb3664 (patch)
tree89ae6bc24e6eb3821c03efd7d781430345c68aa0 /python/ingest_tool.py
parent05bd7cbcc62588e431c5efd533189e246b2a997e (diff)
downloadsandcrawler-600ad67925a748200ddf21d5aeabd157d2bb3664.tar.gz
sandcrawler-600ad67925a748200ddf21d5aeabd157d2bb3664.zip
start handling trivial lint cleanups: unused imports, 'is None', etc
Diffstat (limited to 'python/ingest_tool.py')
-rwxr-xr-xpython/ingest_tool.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/python/ingest_tool.py b/python/ingest_tool.py
index 305c3a8..eb1047d 100755
--- a/python/ingest_tool.py
+++ b/python/ingest_tool.py
@@ -42,8 +42,8 @@ def run_requests(args):
html_quick_mode=args.html_quick_mode,
)
fileset_worker = IngestFilesetWorker(try_spn2=not args.no_spn2, )
- for l in args.json_file:
- request = json.loads(l.strip())
+ for line in args.json_file:
+ request = json.loads(line.strip())
if request['ingest_type'] in [
'dataset',
]: