summaryrefslogtreecommitdiffstats
path: root/python
diff options
context:
space:
mode:
authorBryan Newbold <bnewbold@robocracy.org>2020-09-17 20:09:30 -0700
committerBryan Newbold <bnewbold@robocracy.org>2020-09-17 20:09:30 -0700
commit7e730edac80b99560b1694de53ce9db080af08a6 (patch)
treee4eb0c7fd7a7a33a478956a2df9bc87c3a530fec /python
parent6e1c91d5e66f8cd54fa22fc17a688f25839ca3ce (diff)
downloadfatcat-7e730edac80b99560b1694de53ce9db080af08a6.tar.gz
fatcat-7e730edac80b99560b1694de53ce9db080af08a6.zip
lint cleanups
Diffstat (limited to 'python')
-rw-r--r--python/fatcat_web/routes.py1
-rw-r--r--python/tests/import_file_meta.py2
2 files changed, 0 insertions, 3 deletions
diff --git a/python/fatcat_web/routes.py b/python/fatcat_web/routes.py
index 4c37dc09..924a4d4c 100644
--- a/python/fatcat_web/routes.py
+++ b/python/fatcat_web/routes.py
@@ -1182,4 +1182,3 @@ def page_sitemap_xml():
return send_from_directory(os.path.join(app.root_path, 'static'),
"sitemap.xml",
mimetype='text/xml')
-
diff --git a/python/tests/import_file_meta.py b/python/tests/import_file_meta.py
index b59356b6..e6d1a59f 100644
--- a/python/tests/import_file_meta.py
+++ b/python/tests/import_file_meta.py
@@ -31,8 +31,6 @@ def test_file_meta_importer_basic(file_meta_importer):
))
api.accept_editgroup(eg.editgroup_id)
- last_index = file_meta_importer.api.get_changelog(limit=1)[0].index
-
with open('tests/files/example_file_meta.json', 'r') as f:
counts = JsonLinePusher(file_meta_importer, f).run()