aboutsummaryrefslogtreecommitdiffstats
path: root/fatcat_scholar/issue_db.py
diff options
context:
space:
mode:
authorBryan Newbold <bnewbold@archive.org>2021-10-27 14:49:58 -0700
committerBryan Newbold <bnewbold@archive.org>2021-10-27 18:25:58 -0700
commiteb0c866d4e226606fe86e0f90af10c776e664a5c (patch)
tree732be3b53c9947ae8b416e4aaf0b8bb25b3998b9 /fatcat_scholar/issue_db.py
parent4362e60383bef09d5989830b19ae2d5dec506620 (diff)
downloadfatcat-scholar-eb0c866d4e226606fe86e0f90af10c776e664a5c.tar.gz
fatcat-scholar-eb0c866d4e226606fe86e0f90af10c776e664a5c.zip
lint: small cleanups, mostly E711 and E713
Diffstat (limited to 'fatcat_scholar/issue_db.py')
-rw-r--r--fatcat_scholar/issue_db.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/fatcat_scholar/issue_db.py b/fatcat_scholar/issue_db.py
index 3ca6b79..320c98d 100644
--- a/fatcat_scholar/issue_db.py
+++ b/fatcat_scholar/issue_db.py
@@ -255,7 +255,7 @@ class IssueDB:
if not line:
continue
obj = json.loads(line)
- if not "metadata" in obj:
+ if "metadata" not in obj:
continue
meta = obj["metadata"]
assert "periodicals" in meta["collection"]
@@ -293,7 +293,7 @@ class IssueDB:
if not line:
continue
obj = json.loads(line)
- if not "metadata" in obj:
+ if "metadata" not in obj:
continue
meta = obj["metadata"]
assert "periodicals" in meta["collection"]