X-Git-Url: http://dolda2000.com/gitweb/?a=blobdiff_plain;f=wrw%2Fdispatch.py;h=5276892ac9e1abbc8250a92f07d78cdc0722e052;hb=03f970ca2c0e9b7f8de42c81df758081bcfd5567;hp=768d3f43fdf526cc594935678de1d5c74b34233d;hpb=8fec8547c47c0452333972f554f328d0c8e61be2;p=wrw.git 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)