summaryrefslogtreecommitdiff
path: root/python/qpid/peer.py
diff options
context:
space:
mode:
Diffstat (limited to 'python/qpid/peer.py')
-rw-r--r--python/qpid/peer.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/python/qpid/peer.py b/python/qpid/peer.py
index 5c05e71cf1..b734031798 100644
--- a/python/qpid/peer.py
+++ b/python/qpid/peer.py
@@ -130,8 +130,8 @@ class Peer:
content = None
self.delegate(channel, Message(channel, frame, content))
- except QueueClosed, e:
- self.close(e)
+ except QueueClosed:
+ self.close("worker closed")
except:
self.fatal()