From a83cfbbc86364b00ad24c0dc7e626345a2185287 Mon Sep 17 00:00:00 2001 From: Fredrik Tolf Date: Fri, 2 Dec 2011 08:35:38 +0100 Subject: [PATCH] python: Always flush sys.stderr when a reqthread exits. --- python3/ashd-wsgi3 | 1 + 1 file changed, 1 insertion(+) diff --git a/python3/ashd-wsgi3 b/python3/ashd-wsgi3 index 5f5b5e1..da60cfa 100755 --- a/python3/ashd-wsgi3 +++ b/python3/ashd-wsgi3 @@ -218,6 +218,7 @@ class reqthread(threading.Thread): flightlock.notify() finally: self.req.close() + sys.stderr.flush() def handle(req): reqthread(req).start() -- 2.11.0