From 09beae7763b330cd6c1018068c7f51eb7b5f1afe Mon Sep 17 00:00:00 2001 From: Fredrik Tolf Date: Sun, 2 Mar 2014 04:54:37 +0100 Subject: [PATCH] Fixed wrapping of util.stringwrap --- wrw/util.py | 1 + 1 file changed, 1 insertion(+) 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 -- 2.11.0