From 998f23ed36855e186ac6246b1cf17ae1e5793799 Mon Sep 17 00:00:00 2001 From: Igor Chubin Date: Sun, 29 Jul 2018 21:10:24 +0000 Subject: [PATCH] rewriting queries (VIM_NAMES) --- lib/get_answer.py | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/lib/get_answer.py b/lib/get_answer.py index 9bc129c..291ea0c 100644 --- a/lib/get_answer.py +++ b/lib/get_answer.py @@ -420,6 +420,12 @@ def get_answer(topic, keyword, options="", request_options=None): # pylint: disa def _rewrite_section_name_for_q(query): """ + FIXME: we rewrite the section name too earlier, + what means that we have to use SO names everywhere, + where actually canonified internal names shoud be used. + After this thing is fixed, we should: + * fix naming in cache + * fix VIM_NAMES """ if '/' not in query: return query