diff options
Diffstat (limited to 'python/qpid/peer.py')
| -rw-r--r-- | python/qpid/peer.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/python/qpid/peer.py b/python/qpid/peer.py index acffeb2537..a265e45f43 100644 --- a/python/qpid/peer.py +++ b/python/qpid/peer.py @@ -129,6 +129,8 @@ class Channel: self.reason = None def close(self, reason): + if isinstance(reason, Message): + self.reason = reason if self.closed: return self.closed = True |
