From 8b788ecf42497abac3c03b4e7dc1137692b9eabc Mon Sep 17 00:00:00 2001 From: Gordon Sim Date: Wed, 7 Feb 2007 16:09:16 +0000 Subject: Added list of valid responses to method descriptions where appropriate. git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/branches/qpid.0-9@504601 13f79535-47bb-0310-9956-ffa450edef68 --- python/qpid/spec.py | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'python') 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__" -- cgit v1.2.1