summaryrefslogtreecommitdiff
path: root/python/qpid/delegates.py
diff options
context:
space:
mode:
Diffstat (limited to 'python/qpid/delegates.py')
-rw-r--r--python/qpid/delegates.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/python/qpid/delegates.py b/python/qpid/delegates.py
index d1f615a3fa..8de7141962 100644
--- a/python/qpid/delegates.py
+++ b/python/qpid/delegates.py
@@ -38,7 +38,7 @@ class Delegate:
if seg.track == self.control:
cntrl = seg.decode(self.spec)
- attr = cntrl.type.qname.replace(".", "_")
+ attr = cntrl._type.qname.replace(".", "_")
getattr(self, attr)(ch, cntrl)
elif ssn is None:
ch.session_detached()