summaryrefslogtreecommitdiffstats
path: root/python/fatcat_web/search.py
diff options
context:
space:
mode:
authorBryan Newbold <bnewbold@robocracy.org>2019-01-08 20:26:07 -0800
committerBryan Newbold <bnewbold@robocracy.org>2019-01-08 20:26:09 -0800
commit8d97683a28bdaa4cf170a78b5094d467f5f018ef (patch)
treef48e9811a63bc48bbd96530c534ad7fb25283386 /python/fatcat_web/search.py
parent4e51c1b8fb78b4806e389263a22adb0a4a6b78bc (diff)
downloadfatcat-8d97683a28bdaa4cf170a78b5094d467f5f018ef.tar.gz
fatcat-8d97683a28bdaa4cf170a78b5094d467f5f018ef.zip
partially revert raise_for_status() refactor
Doesn't work with Flask wrapper, of course.
Diffstat (limited to 'python/fatcat_web/search.py')
-rw-r--r--python/fatcat_web/search.py1
1 files changed, 0 insertions, 1 deletions
diff --git a/python/fatcat_web/search.py b/python/fatcat_web/search.py
index 5cebfde4..471e522a 100644
--- a/python/fatcat_web/search.py
+++ b/python/fatcat_web/search.py
@@ -36,7 +36,6 @@ def do_search(q, limit=50, fulltext_only=True):
(app.config['ELASTICSEARCH_BACKEND'], app.config['ELASTICSEARCH_INDEX']),
json=search_request)
- #rv.raise_for_status()
if resp.status_code != 200:
print("elasticsearch non-200 status code: " + str(resp.status_code))
print(resp.content)