Merge branch 'master' into python3
authorFredrik Tolf <fredrik@dolda2000.com>
Sun, 5 Jan 2014 08:10:36 +0000 (09:10 +0100)
committerFredrik Tolf <fredrik@dolda2000.com>
Sun, 5 Jan 2014 08:10:36 +0000 (09:10 +0100)
1  2 
wrw/dispatch.py

diff --cc 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):