summaryrefslogtreecommitdiff
path: root/qpid/python
diff options
context:
space:
mode:
authorTed Ross <tross@apache.org>2008-10-24 15:15:59 +0000
committerTed Ross <tross@apache.org>2008-10-24 15:15:59 +0000
commit92c702abaa7ef5731212ac7fb4acbad7428a34c7 (patch)
tree235450e2e8e4e0f83f05055c66ba702e3fc3e7d3 /qpid/python
parent85372291008259c37eec140bace705805ab53dbe (diff)
downloadqpid-python-92c702abaa7ef5731212ac7fb4acbad7428a34c7.tar.gz
Use a str16 instead of str8 for qmf method response text
git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk@707653 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'qpid/python')
-rw-r--r--qpid/python/qpid/management.py2
-rw-r--r--qpid/python/qpid/qmfconsole.py2
2 files changed, 2 insertions, 2 deletions
diff --git a/qpid/python/qpid/management.py b/qpid/python/qpid/management.py
index fd60ac22cf..863e25e24c 100644
--- a/qpid/python/qpid/management.py
+++ b/qpid/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/qpid/python/qpid/qmfconsole.py b/qpid/python/qpid/qmfconsole.py
index febcae5ea2..4c7b47e38a 100644
--- a/qpid/python/qpid/qmfconsole.py
+++ b/qpid/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: