diff options
| author | Gordon Sim <gsim@apache.org> | 2007-02-07 16:09:16 +0000 |
|---|---|---|
| committer | Gordon Sim <gsim@apache.org> | 2007-02-07 16:09:16 +0000 |
| commit | 8b788ecf42497abac3c03b4e7dc1137692b9eabc (patch) | |
| tree | 22ae24fc431c347c3203bc6f5cd1ebc74b8a0e18 /python | |
| parent | c9ca9e1767b66d31fe9180fbd245508f60eaba8f (diff) | |
| download | qpid-python-8b788ecf42497abac3c03b4e7dc1137692b9eabc.tar.gz | |
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
Diffstat (limited to 'python')
| -rw-r--r-- | python/qpid/spec.py | 4 |
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__" |
