Dolda2000 GitWeb
/
wrw.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d747233
)
Fixed wrapping of util.stringwrap
author
Fredrik Tolf
<fredrik@dolda2000.com>
Sun, 2 Mar 2014 03:54:37 +0000
(
04:54
+0100)
committer
Fredrik Tolf
<fredrik@dolda2000.com>
Sun, 2 Mar 2014 03:55:30 +0000
(
04:55
+0100)
wrw/util.py
patch
|
blob
|
blame
|
history
diff --git
a/wrw/util.py
b/wrw/util.py
index
79a8240
..
8eed5a0
100644
(file)
--- a/
wrw/util.py
+++ b/
wrw/util.py
@@
-13,6
+13,7
@@
def stringwrap(charset):
bk = callable(*args, **kwargs)
for string in bk:
yield string.encode(charset)
+ wrapper.__wrapped__ = callable
return wrapper
return dec