From 7dc64ab60a704755551c47f3c5c3bf219badae68 Mon Sep 17 00:00:00 2001 From: Seth Nickell Date: Sun, 30 May 2004 06:26:24 +0000 Subject: 2004-05-30 Seth Nickell * python/examples/example-client.py: * python/examples/example-service.py: Take it back. Lists seem to work but they're broken in the test suite. Make the base examples use lists (works fine). --- ChangeLog | 9 +++++++++ python/examples/example-client.py | 4 ++-- python/examples/example-service.py | 2 +- 3 files changed, 12 insertions(+), 3 deletions(-) diff --git a/ChangeLog b/ChangeLog index 936ceaf3..e6bf2c3b 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,12 @@ +2004-05-30 Seth Nickell + + * python/examples/example-client.py: + * python/examples/example-service.py: + + Take it back. Lists seem to work but they're broken + in the test suite. Make the base examples use + lists (works fine). + 2004-05-30 Seth Nickell * python/dbus_bindings.pyx.in: diff --git a/python/examples/example-client.py b/python/examples/example-client.py index c1393ecc..b3b22f56 100644 --- a/python/examples/example-client.py +++ b/python/examples/example-client.py @@ -7,6 +7,6 @@ remote_service = bus.get_service("org.designfu.SampleService") remote_object = remote_service.get_object("/SomeObject", "org.designfu.SampleInterface") -hello_reply = remote_object.HelloWorld("Hello from example-client.py!") +hello_reply_list = remote_object.HelloWorld("Hello from example-client.py!") -print (hello_reply) +print (hello_reply_list) diff --git a/python/examples/example-service.py b/python/examples/example-service.py index d1460802..ceb7f11d 100644 --- a/python/examples/example-service.py +++ b/python/examples/example-service.py @@ -9,7 +9,7 @@ class SomeObject(dbus.Object): def HelloWorld(self, hello_message): print (hello_message) - return "Hello from example-service.py" + return ["Hello", "from example-service.py"] session_bus = dbus.SessionBus() service = dbus.Service("org.designfu.SampleService", bus=session_bus) -- cgit