X-Git-Url: http://dolda2000.com/gitweb/?p=wrw.git;a=blobdiff_plain;f=wrw%2Fsp%2Fxhtml.py;h=e78d1972da005d7fca4d47bc6daa045d14bd6f3a;hp=d19fc99a0b4bf33618906d635cb5e0c80505b6a3;hb=7756066bff7ee01d615cbce0d5ddd58441108bd6;hpb=a7b35f84508eb5ab8a890065275e5a0f3bc5bef5 diff --git a/wrw/sp/xhtml.py b/wrw/sp/xhtml.py index d19fc99..e78d197 100644 --- a/wrw/sp/xhtml.py +++ b/wrw/sp/xhtml.py @@ -60,4 +60,5 @@ def forreq(req, tree): def xhtmlresp(callable): def wrapper(req): return forreq(req, callable(req)) + wrapper.__wrapped__ = callable return wrapper