From 713c0c114f8d344beb58d5f99d0cb602485399cf Mon Sep 17 00:00:00 2001 From: "Rafael H. Schloming" Date: Mon, 10 Mar 2008 19:12:09 +0000 Subject: renamed datatypes.Struct.type -> datatypes.Struct._type; this avoids naming conflicts with metadata-driven fields; moved argument validation -> datatypes.Struct and improved error checking; improved datatypes.Struct.__repr__ git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@635660 13f79535-47bb-0310-9956-ffa450edef68 --- python/tests_0-10/example.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'python/tests_0-10/example.py') diff --git a/python/tests_0-10/example.py b/python/tests_0-10/example.py index fd10a8df4f..1e140a285d 100644 --- a/python/tests_0-10/example.py +++ b/python/tests_0-10/example.py @@ -60,7 +60,7 @@ class ExampleTest (TestBase010): session.exchange_declare("test", "direct") # Here we use keyword arguments. - session.queue_declare(session, queue="test-queue", exclusive=True, auto_delete=True) + session.queue_declare(queue="test-queue", exclusive=True, auto_delete=True) session.exchange_bind(queue="test-queue", exchange="test", binding_key="key") # Call Session.subscribe to register as a consumer. -- cgit v1.2.1