summaryrefslogtreecommitdiff
path: root/python
diff options
context:
space:
mode:
authorAlan Conway <aconway@apache.org>2013-05-01 17:45:05 +0000
committerAlan Conway <aconway@apache.org>2013-05-01 17:45:05 +0000
commite989e7e907c94afca9a68713abb47d53d7967731 (patch)
tree91cbbce4a08cd6da9282a38db11aa97b7f436592 /python
parent6e649beb7df50f02a338ab317a0f08537914724c (diff)
downloadqpid-python-e989e7e907c94afca9a68713abb47d53d7967731.tar.gz
NO-JIRA: Trivial python client fix, pass timeout in Sender.send.
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1478115 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'python')
-rw-r--r--python/qpid/messaging/endpoints.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/python/qpid/messaging/endpoints.py b/python/qpid/messaging/endpoints.py
index 8576099c0f..b4ddcc3f77 100644
--- a/python/qpid/messaging/endpoints.py
+++ b/python/qpid/messaging/endpoints.py
@@ -856,7 +856,7 @@ class Sender(Endpoint):
if not self.session.connection._connected or self.session.closing:
raise Detached()
- self._ecwait(lambda: self.linked)
+ self._ecwait(lambda: self.linked, timeout=timeout)
if isinstance(object, Message):
message = object