summaryrefslogtreecommitdiffstats
path: root/python
diff options
context:
space:
mode:
authorBryan Newbold <bnewbold@robocracy.org>2020-07-01 18:58:46 -0700
committerBryan Newbold <bnewbold@robocracy.org>2020-07-24 10:07:48 -0700
commit3cc6931f971b7cb61be354a10c6235dc1dd122e9 (patch)
treeeeedee8c6a1278028d9986115076d0a80dce32bc /python
parent693a6f71b1afef686b6783ba3afb1a67bb14b62b (diff)
downloadfatcat-3cc6931f971b7cb61be354a10c6235dc1dd122e9.tar.gz
fatcat-3cc6931f971b7cb61be354a10c6235dc1dd122e9.zip
web search: fix pylint error
Diffstat (limited to 'python')
-rw-r--r--python/fatcat_web/search.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/python/fatcat_web/search.py b/python/fatcat_web/search.py
index 87d07e55..0fce6454 100644
--- a/python/fatcat_web/search.py
+++ b/python/fatcat_web/search.py
@@ -131,7 +131,7 @@ def get_elastic_entity_stats():
'sum',
field='ref_count',
)
- search = search[:0]
+ search = search[:0] # pylint: disable=unsubscriptable-object
# NOTE: not catching exceptions
resp = search.execute()
@@ -190,7 +190,7 @@ def get_elastic_entity_stats():
'sum',
field='ref_count',
)
- search = search[:0]
+ search = search[:0] # pylint: disable=unsubscriptable-object
# NOTE: not catching exceptions
resp = search.execute()