X-Git-Url: http://dolda2000.com/gitweb/?p=wrw.git;a=blobdiff_plain;f=wrw%2Fsp%2Fxhtml.py;h=662c171f12bbf9228b48066dcc82f75172e849cf;hp=17c56788729b63cbb631a2a3db547a4dbb441edf;hb=8d8d1f703090499006efeb51299b8a267b00aa09;hpb=2a5a8ce70a0107b7bfd5bd3459ae4aae3a7558e2 diff --git a/wrw/sp/xhtml.py b/wrw/sp/xhtml.py index 17c5678..662c171 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