From c77c7e343b73bb9c14319679063a55e5cf1ee1d6 Mon Sep 17 00:00:00 2001 From: Robert McQueen Date: Sun, 27 Nov 2005 16:40:57 +0000 Subject: 2005-11-27 Robert McQueen * python/dbus_bindings.pyx: Fix a bug where doing a strict append with type v of an instance of dbus.Variant(foo, type='x') caused it to be boxed twice before sending over the bus. * python/dbus_bindings.pyx, python/service.py, test/python/test-client.py: Update the constants for the new request_name flags, and update comments/test cases now that queueing is the default action. --- python/service.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'python/service.py') diff --git a/python/service.py b/python/service.py index e5a7002b..ad36e4f5 100644 --- a/python/service.py +++ b/python/service.py @@ -27,8 +27,9 @@ class BusName(object): if retval == dbus_bindings.REQUEST_NAME_REPLY_PRIMARY_OWNER: pass elif retval == dbus_bindings.REQUEST_NAME_REPLY_IN_QUEUE: - # you can't arrive at this state via the high-level bindings - # because you can't put flags in, but... who knows? + # queueing can happen by default, maybe we should + # track this better or let the user know if they're + # queued or not? pass elif retval == dbus_bindings.REQUEST_NAME_REPLY_EXISTS: raise NameExistsException(name) -- cgit