diff options
author | Bryan Newbold <bnewbold@robocracy.org> | 2020-07-01 18:58:46 -0700 |
---|---|---|
committer | Bryan Newbold <bnewbold@robocracy.org> | 2020-07-24 10:07:48 -0700 |
commit | 3cc6931f971b7cb61be354a10c6235dc1dd122e9 (patch) | |
tree | eeedee8c6a1278028d9986115076d0a80dce32bc | |
parent | 693a6f71b1afef686b6783ba3afb1a67bb14b62b (diff) | |
download | fatcat-3cc6931f971b7cb61be354a10c6235dc1dd122e9.tar.gz fatcat-3cc6931f971b7cb61be354a10c6235dc1dd122e9.zip |
web search: fix pylint error
-rw-r--r-- | python/fatcat_web/search.py | 4 |
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() |