You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@qpid.apache.org by bo...@apache.org on 2015/09/23 20:29:04 UTC
[2/3] qpid-proton git commit: NO-JIRA: Python: keep received encoded
bytes in the delivery
NO-JIRA: Python: keep received encoded bytes in the delivery
Project: http://git-wip-us.apache.org/repos/asf/qpid-proton/repo
Commit: http://git-wip-us.apache.org/repos/asf/qpid-proton/commit/7de6a183
Tree: http://git-wip-us.apache.org/repos/asf/qpid-proton/tree/7de6a183
Diff: http://git-wip-us.apache.org/repos/asf/qpid-proton/diff/7de6a183
Branch: refs/heads/master
Commit: 7de6a183bd84e90a772ab622dbba04e749a97f44
Parents: 07ea651
Author: Bozo Dragojevic <bo...@digiverse.si>
Authored: Mon Sep 21 13:00:00 2015 +0200
Committer: Bozo Dragojevic <bo...@digiverse.si>
Committed: Wed Sep 23 20:04:03 2015 +0200
----------------------------------------------------------------------
proton-c/bindings/python/proton/__init__.py | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/qpid-proton/blob/7de6a183/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 c3890d4..fc26264 100644
--- a/proton-c/bindings/python/proton/__init__.py
+++ b/proton-c/bindings/python/proton/__init__.py
@@ -1134,13 +1134,13 @@ The group-id for any replies.
if link.is_sender: return None
dlv = link.current
if not dlv or dlv.partial: return None
- encoded = link.recv(dlv.pending)
+ dlv.encoded = link.recv(dlv.pending)
link.advance()
# the sender has already forgotten about the delivery, so we might
# as well too
if link.remote_snd_settle_mode == Link.SND_SETTLED:
dlv.settle()
- self.decode(encoded)
+ self.decode(dlv.encoded)
return dlv
def __repr2__(self):
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@qpid.apache.org
For additional commands, e-mail: commits-help@qpid.apache.org