summaryrefslogtreecommitdiff
path: root/python/qpid/spec.py
diff options
context:
space:
mode:
Diffstat (limited to 'python/qpid/spec.py')
-rw-r--r--python/qpid/spec.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/python/qpid/spec.py b/python/qpid/spec.py
index ffd7b5a454..e430c45b96 100644
--- a/python/qpid/spec.py
+++ b/python/qpid/spec.py
@@ -208,6 +208,10 @@ class Method(Metadata):
if f.docs:
s += "\n\n" + "\n\n".join([fill(f.docs[0], 4, f.name)] +
[fill(d, 4) for d in f.docs[1:]])
+ if self.responses:
+ s += "\n\nValid responses: "
+ for r in self.responses:
+ s += r.name + " "
return s
METHOD = "__method__"