From f934d8a2d5d91d802fcc791a8492bd92abafc327 Mon Sep 17 00:00:00 2001 From: Alan Conway Date: Mon, 19 Mar 2007 20:02:29 +0000 Subject: Merged revisions 504601-504602,504604-504609,504611-504702,504704-504707,504709-504849 via svnmerge from https://svn.apache.org/repos/asf/incubator/qpid/branches/qpid.0-9 ........ r504601 | gsim | 2007-02-07 11:09:16 -0500 (Wed, 07 Feb 2007) | 3 lines Added list of valid responses to method descriptions where appropriate. ........ r504700 | aconway | 2007-02-07 16:30:32 -0500 (Wed, 07 Feb 2007) | 2 lines Use self.queue_open to ensure deletion of queue - was clashing with message.py tests. ........ r504849 | gsim | 2007-02-08 05:14:50 -0500 (Thu, 08 Feb 2007) | 3 lines Fixes to qos and get tests. Added test for correct completion of references. ........ git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@520073 13f79535-47bb-0310-9956-ffa450edef68 --- python/qpid/spec.py | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'python/qpid/spec.py') 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