summaryrefslogtreecommitdiff
path: root/python/mgmt-cli/managementdata.py
diff options
context:
space:
mode:
authorNuno Santos <nsantos@apache.org>2008-03-27 20:51:42 +0000
committerNuno Santos <nsantos@apache.org>2008-03-27 20:51:42 +0000
commit3ebe0d3e1499243c6517aa69e22faea00facf7be (patch)
tree08ee62a7f598c88d82865f5170b532c02d9e10f6 /python/mgmt-cli/managementdata.py
parentc9bf075ee735b96e0c59ae306fc447d6ad73a544 (diff)
downloadqpid-python-3ebe0d3e1499243c6517aa69e22faea00facf7be.tar.gz
QPID-883: applying patch supplied by Ted Ross
git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@641976 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'python/mgmt-cli/managementdata.py')
-rw-r--r--python/mgmt-cli/managementdata.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/python/mgmt-cli/managementdata.py b/python/mgmt-cli/managementdata.py
index adff05a710..badd8cd9d1 100644
--- a/python/mgmt-cli/managementdata.py
+++ b/python/mgmt-cli/managementdata.py
@@ -156,8 +156,7 @@ class ManagementData:
self.mclient = managementClient (self.spec, self.ctrlHandler, self.configHandler,
self.instHandler, self.methodReply)
self.mclient.schemaListener (self.schemaHandler)
- self.mch = managementChannel (self.channel, self.mclient.topicCb, self.mclient.replyCb)
- self.mclient.addChannel (self.mch)
+ self.mch = self.mclient.addChannel (self.channel)
def close (self):
self.mclient.removeChannel (self.mch)