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/01/26 21:02:07 UTC

qpid-proton git commit: Fix error handling when sender link target not echoed

Repository: qpid-proton
Updated Branches:
  refs/heads/master 2daa1c06c -> 7d950b661


Fix error handling when sender link target not echoed


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

Branch: refs/heads/master
Commit: 7d950b661ade2f79438158bc454dff85c113fee4
Parents: 2daa1c0
Author: Gordon Sim <gs...@redhat.com>
Authored: Mon Jan 26 20:03:21 2015 +0000
Committer: Gordon Sim <gs...@redhat.com>
Committed: Mon Jan 26 20:03:21 2015 +0000

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


http://git-wip-us.apache.org/repos/asf/qpid-proton/blob/7d950b66/proton-c/bindings/python/proton/utils.py
----------------------------------------------------------------------
diff --git a/proton-c/bindings/python/proton/utils.py b/proton-c/bindings/python/proton/utils.py
index 9e6fb81..187fc29 100644
--- a/proton-c/bindings/python/proton/utils.py
+++ b/proton-c/bindings/python/proton/utils.py
@@ -44,7 +44,7 @@ class BlockingSender(BlockingLink):
         super(BlockingSender, self).__init__(connection, sender)
         if self.link.target and self.link.target.address and self.link.target.address != self.link.remote_target.address:
             self.link.close()
-            raise LinkException("Failed to open sender %s, target does not match" % link.name)
+            raise LinkException("Failed to open sender %s, target does not match" % self.link.name)
 
     def send_msg(self, msg, timeout=False):
         delivery = send_msg(self.link, msg)


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@qpid.apache.org
For additional commands, e-mail: commits-help@qpid.apache.org