Dolda2000 GitWeb
/
wrw.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Fixed wrapping of util.stringwrap
[wrw.git]
/
wrw
/
util.py
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