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