fixed Collector.put

git-svn-id: https://svn.apache.org/repos/asf/qpid/proton/trunk@1632774 
13f79535-47bb-0310-9956-ffa450edef68


Project: http://git-wip-us.apache.org/repos/asf/qpid-proton/repo
Commit: http://git-wip-us.apache.org/repos/asf/qpid-proton/commit/8d6532d8
Tree: http://git-wip-us.apache.org/repos/asf/qpid-proton/tree/8d6532d8
Diff: http://git-wip-us.apache.org/repos/asf/qpid-proton/diff/8d6532d8

Branch: refs/heads/examples
Commit: 8d6532d87a82712c628410a6df8354ed83920d7f
Parents: 7e8b6b6
Author: Rafael H. Schloming <[email protected]>
Authored: Sat Oct 18 11:57:31 2014 +0000
Committer: Rafael H. Schloming <[email protected]>
Committed: Sat Oct 18 11:57:31 2014 +0000

----------------------------------------------------------------------
 proton-c/bindings/python/proton.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/qpid-proton/blob/8d6532d8/proton-c/bindings/python/proton.py
----------------------------------------------------------------------
diff --git a/proton-c/bindings/python/proton.py 
b/proton-c/bindings/python/proton.py
index d9548ed..bf76af0 100644
--- a/proton-c/bindings/python/proton.py
+++ b/proton-c/bindings/python/proton.py
@@ -3359,7 +3359,7 @@ class Collector:
     self._contexts = set()
 
   def put(self, obj, etype):
-    pn_collector_put(self._impl, PN_PYREF, pn_py2void(obj), etype)
+    pn_collector_put(self._impl, PN_PYREF, pn_py2void(obj), etype.number)
 
   def peek(self):
     event = pn_collector_peek(self._impl)


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to