From 3cc6931f971b7cb61be354a10c6235dc1dd122e9 Mon Sep 17 00:00:00 2001 From: Bryan Newbold Date: Wed, 1 Jul 2020 18:58:46 -0700 Subject: web search: fix pylint error --- python/fatcat_web/search.py | 4 ++-- 1 file 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() -- cgit v1.2.3