X-Git-Url: http://dolda2000.com/gitweb/?a=blobdiff_plain;f=wrw%2Fsp%2Fxhtml.py;h=447c1b17827a659016f636cbc12d97ffd3c97012;hb=612eb9f52dd4bc45b16bdcfcecbedec567df3155;hp=3c6c0f6898333ae89a28bc01b5a106fa17325b05;hpb=a573465ea03bd2a484252e87e0364d9376ec6bfc;p=wrw.git diff --git a/wrw/sp/xhtml.py b/wrw/sp/xhtml.py index 3c6c0f6..447c1b1 100644 --- a/wrw/sp/xhtml.py +++ b/wrw/sp/xhtml.py @@ -58,4 +58,5 @@ def forreq(req, tree): def xhtmlresp(callable): def wrapper(req): return forreq(req, callable(req)) + wrapper.__wrapped__ = callable return wrapper