X-Git-Url: http://www.dolda2000.com/gitweb/?a=blobdiff_plain;f=wrw%2Fdispatch.py;h=1dedbe6c666c718ecfa0e7340761c365e3d4d159;hb=0f18b7748229b3b899cbc9b7b320d10cd5a668ed;hp=4d22b72836550b75be305b2927b3311327c4b66a;hpb=1864be32db482df017bc7dd57bbd2ccadeec4429;p=wrw.git diff --git a/wrw/dispatch.py b/wrw/dispatch.py index 4d22b72..1dedbe6 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)