summaryrefslogtreecommitdiff
path: root/net-im/telepathy-gabble/files/patch-tools_libtpcodegen.py
diff options
context:
space:
mode:
Diffstat (limited to 'net-im/telepathy-gabble/files/patch-tools_libtpcodegen.py')
-rw-r--r--net-im/telepathy-gabble/files/patch-tools_libtpcodegen.py14
1 files changed, 14 insertions, 0 deletions
diff --git a/net-im/telepathy-gabble/files/patch-tools_libtpcodegen.py b/net-im/telepathy-gabble/files/patch-tools_libtpcodegen.py
new file mode 100644
index 000000000000..445aab35ca25
--- /dev/null
+++ b/net-im/telepathy-gabble/files/patch-tools_libtpcodegen.py
@@ -0,0 +1,14 @@
+--- tools/libtpcodegen.py.orig 2014-05-07 14:28:02 UTC
++++ tools/libtpcodegen.py
+@@ -167,7 +167,10 @@ class _SignatureIter:
+ def __init__(self, string):
+ self.remaining = string
+
+- def next(self):
++ def __iter__(self):
++ self
++
++ def __next__(self):
+ if self.remaining == '':
+ raise StopIteration
+