diff options
| author | Alan Conway <aconway@apache.org> | 2007-03-19 19:15:11 +0000 |
|---|---|---|
| committer | Alan Conway <aconway@apache.org> | 2007-03-19 19:15:11 +0000 |
| commit | 776c3c3a9a37b5ec4f75b40c406aabba55fd30ec (patch) | |
| tree | 01e4036372f2745f9b6103564fdd8ea4b6f8aa11 /python/hello-world | |
| parent | 1d74de398b1edaf6c1eb7a69219a24ceb3f107e8 (diff) | |
| download | qpid-python-776c3c3a9a37b5ec4f75b40c406aabba55fd30ec.tar.gz | |
* python/testlib.py: -s (spec) option now also takes abbreviations "0-8" and "0-9"
to load default 0-8 or 0-9 XML respectively. Default is still 0-8.
Merged revisions 501586 via svnmerge from
https://svn.apache.org/repos/asf/incubator/qpid/branches/qpid.0-9
........
r501586 | rhs | 2007-01-30 16:44:41 -0500 (Tue, 30 Jan 2007) | 1 line
updated python spec parse to load from multiple files, changed default specs to include errata
........
git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@520050 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'python/hello-world')
| -rwxr-xr-x | python/hello-world | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/python/hello-world b/python/hello-world index fd712d324b..8b7a2752c5 100755 --- a/python/hello-world +++ b/python/hello-world @@ -3,7 +3,8 @@ import qpid from qpid.client import Client from qpid.content import Content -client = Client("127.0.0.1", 5672, qpid.spec.load("../specs/amqp.0-9.xml")) +client = Client("127.0.0.1", 5672, qpid.spec.load("../specs/amqp.0-9.xml", + "../specs/amqp-errata.0-9.xml")) client.start({"LOGIN": "guest", "PASSWORD": "guest"}) ch = client.channel(1) ch.channel_open() |
