summaryrefslogtreecommitdiff
path: root/python/qpid/messaging/driver.py
diff options
context:
space:
mode:
authorRafael H. Schloming <rhs@apache.org>2010-07-13 19:07:22 +0000
committerRafael H. Schloming <rhs@apache.org>2010-07-13 19:07:22 +0000
commit3433084004067d4d16af207c92158cf96b1c8b53 (patch)
treebd0cbd07b03c5ce8f6177bc88629d5fcf4c78786 /python/qpid/messaging/driver.py
parente26d7c17afc51e5afccbe4114f62e5d5cd030256 (diff)
downloadqpid-python-3433084004067d4d16af207c92158cf96b1c8b53.tar.gz
eliminate spurious error logging and reconnect attempts
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@963825 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'python/qpid/messaging/driver.py')
-rw-r--r--python/qpid/messaging/driver.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/python/qpid/messaging/driver.py b/python/qpid/messaging/driver.py
index 15eaf1f9bd..ff988c2b4d 100644
--- a/python/qpid/messaging/driver.py
+++ b/python/qpid/messaging/driver.py
@@ -463,7 +463,7 @@ class Driver:
def dispatch(self):
try:
if self._transport is None:
- if self.connection._connected:
+ if self.connection._connected and not self.connection.error:
self.connect()
else:
self.engine.dispatch()