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 <g...@redhat.com>
Authored: Tue Mar 3 13:45:40 2015 +0000
Committer: Gordon Sim <g...@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-unsubscr...@qpid.apache.org
For additional commands, e-mail: commits-h...@qpid.apache.org

Reply via email to