Author: gsim
Date: Wed Feb 7 08:09:16 2007
New Revision: 504601
URL: http://svn.apache.org/viewvc?view=rev&rev=504601
Log:
Added list of valid responses to method descriptions where appropriate.
Modified:
incubator/qpid/branches/qpid.0-9/python/qpid/spec.py
Modified: incubator/qpid/branches/qpid.0-9/python/qpid/spec.py
URL:
http://svn.apache.org/viewvc/incubator/qpid/branches/qpid.0-9/python/qpid/spec.py?view=diff&rev=504601&r1=504600&r2=504601
==============================================================================
--- incubator/qpid/branches/qpid.0-9/python/qpid/spec.py (original)
+++ incubator/qpid/branches/qpid.0-9/python/qpid/spec.py Wed Feb 7 08:09:16
2007
@@ -208,6 +208,10 @@
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__"