summaryrefslogtreecommitdiff
path: root/qpid/python/hello-world
diff options
context:
space:
mode:
authorAlan Conway <aconway@apache.org>2007-03-19 19:15:11 +0000
committerAlan Conway <aconway@apache.org>2007-03-19 19:15:11 +0000
commit8467f918a5504b6198450c4900e425263318958a (patch)
tree4018297414e9c0648c76ff5ee7a7209af7409472 /qpid/python/hello-world
parentcd8e6cabd2fd4f37b4ca7fe4b673629062aa194d (diff)
downloadqpid-python-8467f918a5504b6198450c4900e425263318958a.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@520050 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'qpid/python/hello-world')
-rwxr-xr-xqpid/python/hello-world3
1 files changed, 2 insertions, 1 deletions
diff --git a/qpid/python/hello-world b/qpid/python/hello-world
index fd712d324b..8b7a2752c5 100755
--- a/qpid/python/hello-world
+++ b/qpid/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()