From: Fredrik Tolf Date: Sun, 2 Mar 2014 03:54:37 +0000 (+0100) Subject: Fixed wrapping of util.stringwrap X-Git-Url: http://dolda2000.com/gitweb/?p=wrw.git;a=commitdiff_plain;h=09beae7763b330cd6c1018068c7f51eb7b5f1afe Fixed wrapping of util.stringwrap --- diff --git a/wrw/util.py b/wrw/util.py index 79a8240..8eed5a0 100644 --- 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