summaryrefslogtreecommitdiff
path: root/qpid/python
diff options
context:
space:
mode:
authorAndrew Stitcher <astitcher@apache.org>2014-06-12 22:00:10 +0000
committerAndrew Stitcher <astitcher@apache.org>2014-06-12 22:00:10 +0000
commita51308f58e61a92b96b2edfaa2a8c078a55e2888 (patch)
tree46a0d496af71aa40dd17c7a09aec3c44e5f83538 /qpid/python
parentf53221baf7d0622572eac06c36fae866dd6b20d6 (diff)
downloadqpid-python-a51308f58e61a92b96b2edfaa2a8c078a55e2888.tar.gz
Revert "QPID-5812: python high level API client receiver.fetch(timeout=N) blocks forever in select() if broker is stopped (kill -STOP)"
This reverts commit r1602221 As it breaks the C++ tests: - python_tests - federation_sys_tests - legacystore_python_tests git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1602302 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'qpid/python')
-rw-r--r--qpid/python/qpid/messaging/endpoints.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/qpid/python/qpid/messaging/endpoints.py b/qpid/python/qpid/messaging/endpoints.py
index 58349deb69..e69d7a10ae 100644
--- a/qpid/python/qpid/messaging/endpoints.py
+++ b/qpid/python/qpid/messaging/endpoints.py
@@ -1039,7 +1039,7 @@ class Receiver(Endpoint, object):
self.check_closed()
self.draining = True
self._wakeup()
- self._ecwait(lambda: not self.draining, timeout=0)
+ self._ecwait(lambda: not self.draining)
msg = self.session._get(self, timeout=0)
self._grant()
self._wakeup()