From f44b58d8ac91ef349a24940602faf471bd601cfb Mon Sep 17 00:00:00 2001 From: Igor Chubin Date: Sat, 18 May 2019 20:30:11 +0000 Subject: [PATCH] connect stdin to /dev/null when starting subprocesses --- lib/adapter/question.py | 3 +-- lib/fmt/comments.py | 2 +- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/lib/adapter/question.py b/lib/adapter/question.py index 99abc8c..c9dc670 100644 --- a/lib/adapter/question.py +++ b/lib/adapter/question.py @@ -56,7 +56,6 @@ class Question(UpstreamAdapter): section_name = SO_NAME.get(section_name, section_name) topic = "%s/%s" % (section_name, topic) - # some clients send queries with - instead of + so we have to rewrite them to topic = re.sub(r"(?