summaryrefslogtreecommitdiff
path: root/cpp/managementgen/qmf/schema.py
diff options
context:
space:
mode:
authorTed Ross <tross@apache.org>2008-09-10 19:14:01 +0000
committerTed Ross <tross@apache.org>2008-09-10 19:14:01 +0000
commit51ea054146d0af71640bd44e8e75494847216a31 (patch)
treef262995946ace31dbb3d3660db9df58e4f412ac3 /cpp/managementgen/qmf/schema.py
parent0b778c328001d25b3118450c0bfabb3e0b918971 (diff)
downloadqpid-python-51ea054146d0af71640bd44e8e75494847216a31.tar.gz
QPID-1279 Implementations of management methods can now return error strings along with its own error codes
git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@693933 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'cpp/managementgen/qmf/schema.py')
-rwxr-xr-xcpp/managementgen/qmf/schema.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/cpp/managementgen/qmf/schema.py b/cpp/managementgen/qmf/schema.py
index 9263c29543..26bad618f7 100755
--- a/cpp/managementgen/qmf/schema.py
+++ b/cpp/managementgen/qmf/schema.py
@@ -1004,9 +1004,9 @@ class SchemaClass:
arg.name, "inBuf") + ";\n")
stream.write (" status = coreObject->ManagementMethod (METHOD_" +\
- method.getName().upper() + ", ioArgs);\n")
+ method.getName().upper() + ", ioArgs, text);\n")
stream.write (" outBuf.putLong (status);\n")
- stream.write (" outBuf.putShortString (Manageable::StatusText (status));\n")
+ stream.write (" outBuf.putShortString (Manageable::StatusText (status, text));\n")
for arg in method.args:
if arg.getDir () == "O" or arg.getDir () == "IO":
stream.write (" " +\