You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@qpid.apache.org by gs...@apache.org on 2015/03/03 14:45:14 UTC
[2/2] qpid-proton git commit: PROTON-831: minor tweak to accomodate
older python; patch from Irina Boverman.
PROTON-831: minor tweak to accomodate older python; patch from Irina Boverman.
Project: http://git-wip-us.apache.org/repos/asf/qpid-proton/repo
Commit: http://git-wip-us.apache.org/repos/asf/qpid-proton/commit/8ea52ddd
Tree: http://git-wip-us.apache.org/repos/asf/qpid-proton/tree/8ea52ddd
Diff: http://git-wip-us.apache.org/repos/asf/qpid-proton/diff/8ea52ddd
Branch: refs/heads/master
Commit: 8ea52ddd32e340eb4d1125e30bc3b1208527f17a
Parents: fca40c5
Author: Gordon Sim <gs...@redhat.com>
Authored: Tue Mar 3 13:45:40 2015 +0000
Committer: Gordon Sim <gs...@redhat.com>
Committed: Tue Mar 3 13:46:36 2015 +0000
----------------------------------------------------------------------
proton-c/bindings/python/proton/__init__.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/qpid-proton/blob/8ea52ddd/proton-c/bindings/python/proton/__init__.py
----------------------------------------------------------------------
diff --git a/proton-c/bindings/python/proton/__init__.py b/proton-c/bindings/python/proton/__init__.py
index ac2c15e..c200e9c 100644
--- a/proton-c/bindings/python/proton/__init__.py
+++ b/proton-c/bindings/python/proton/__init__.py
@@ -2855,7 +2855,7 @@ class Sender(Link):
yield str(count)
count += 1
self.tag_generator = simple_tags()
- return next(self.tag_generator)
+ return self.tag_generator.next()
class Receiver(Link):
"""
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@qpid.apache.org
For additional commands, e-mail: commits-help@qpid.apache.org