From 8adca7262ae82e2bfe5331d4264e3e7865a0181a Mon Sep 17 00:00:00 2001 From: Ted Ross Date: Fri, 24 Oct 2008 15:15:59 +0000 Subject: Use a str16 instead of str8 for qmf method response text git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@707653 13f79535-47bb-0310-9956-ffa450edef68 --- python/qpid/management.py | 2 +- python/qpid/qmfconsole.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'python') diff --git a/python/qpid/management.py b/python/qpid/management.py index fd60ac22cf..863e25e24c 100644 --- a/python/qpid/management.py +++ b/python/qpid/management.py @@ -534,7 +534,7 @@ class managementClient: def handleMethodReply (self, ch, codec, sequence): status = codec.read_uint32 () - sText = str (codec.read_str8 ()) + sText = str (codec.read_str16 ()) data = self.seqMgr.release (sequence) if data == None: diff --git a/python/qpid/qmfconsole.py b/python/qpid/qmfconsole.py index febcae5ea2..4c7b47e38a 100644 --- a/python/qpid/qmfconsole.py +++ b/python/qpid/qmfconsole.py @@ -460,7 +460,7 @@ class Session: def _handleMethodResp(self, broker, codec, seq): code = codec.read_uint32() - text = str(codec.read_str8()) + text = str(codec.read_str16()) outArgs = {} method, synchronous = self.seqMgr._release(seq) if code == 0: -- cgit v1.2.1