From 776c3c3a9a37b5ec4f75b40c406aabba55fd30ec Mon Sep 17 00:00:00 2001 From: Alan Conway Date: Mon, 19 Mar 2007 19:15:11 +0000 Subject: * 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 --- python/hello-world | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'python/hello-world') 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() -- cgit v1.2.1