From: Fredrik Tolf Date: Sun, 5 Jan 2014 08:10:36 +0000 (+0100) Subject: Merge branch 'master' into python3 X-Git-Url: http://git.dolda2000.com/gitweb/?a=commitdiff_plain;h=b0f95b219e2f9aea9f81d696adbfaaa0e41a6eaf;p=wrw.git Merge branch 'master' into python3 --- b0f95b219e2f9aea9f81d696adbfaaa0e41a6eaf diff --cc wrw/dispatch.py index 5276892,f0326cb..2ece093 --- a/wrw/dispatch.py +++ b/wrw/dispatch.py @@@ -17,8 -17,9 +17,9 @@@ def mangle(result) return [str(result)] def defaulterror(req, excinfo): - import resp + from . import resp traceback.print_exception(*excinfo) + sys.stderr.flush() raise resp.httperror(500) def wraphandler(handler, excinfo):