From 5d0ed9c7044da04374ef3abd49eff14ec6b285ab Mon Sep 17 00:00:00 2001 From: Seth Nickell Date: Sun, 18 Jul 2004 21:44:37 +0000 Subject: 2004-07-18 Seth Nickell * python/dbus.py: * python/dbus_bindings.pyx.in: * python/tests/test-client.py: Add dbus.ByteArray and dbus_bindings.ByteArray types so that byte streams can be passed back. Give jdahlin the heaps of credit that are so rightfully his. --- python/dbus.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'python/dbus.py') diff --git a/python/dbus.py b/python/dbus.py index 55c61235..de42d74d 100644 --- a/python/dbus.py +++ b/python/dbus.py @@ -330,7 +330,7 @@ class ObjectTree: self._connection.register_fallback(base_path, self._unregister_cb, self._message_cb) def relative_path_to_object_path(self, relative_path): - return self._base_path + relative_path + return ObjectPath(self._base_path + relative_path) def broadcast_signal(self, interface, signal_name, relative_path): object_path = self.relative_path_to_object_path(relative_path) @@ -393,3 +393,4 @@ class RemoteService: return RemoteObject(self, object_path, interface) ObjectPath = dbus_bindings.ObjectPath +ByteArray = dbus_bindings.ByteArray -- cgit