Dolda2000 GitWeb
/
wrw.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (from parent 1:
24e514f
)
Set __wrapped__ in xhtmlresp as well.
author
Fredrik Tolf
<fredrik@dolda2000.com>
Tue, 4 Jun 2013 13:30:59 +0000
(15:30 +0200)
committer
Fredrik Tolf
<fredrik@dolda2000.com>
Tue, 4 Jun 2013 13:30:59 +0000
(15:30 +0200)
wrw/sp/xhtml.py
patch
|
blob
|
blame
|
history
diff --git
a/wrw/sp/xhtml.py
b/wrw/sp/xhtml.py
index
3c6c0f6
..
447c1b1
100644
(file)
--- 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))
def xhtmlresp(callable):
def wrapper(req):
return forreq(req, callable(req))
+ wrapper.__wrapped__ = callable
return wrapper
return wrapper