X-Git-Url: http://dolda2000.com/gitweb/?p=wrw.git;a=blobdiff_plain;f=wrw%2Fdispatch.py;h=5276892ac9e1abbc8250a92f07d78cdc0722e052;hp=768d3f43fdf526cc594935678de1d5c74b34233d;hb=2a5a8ce70a0107b7bfd5bd3459ae4aae3a7558e2;hpb=8fec8547c47c0452333972f554f328d0c8e61be2 diff --git a/wrw/dispatch.py b/wrw/dispatch.py index 768d3f4..5276892 100644 --- a/wrw/dispatch.py +++ b/wrw/dispatch.py @@ -24,6 +24,7 @@ def defaulterror(req, excinfo): def wraphandler(handler, excinfo): def wrapped(req): return handler(req, excinfo) + wrapped.__wrapped__ = handler return wrapped errorhandler = env.var(defaulterror)