From 5d6113aaa0595a8eb7f3263c5679b2bd069f95ba Mon Sep 17 00:00:00 2001 From: Seth Nickell Date: Sat, 29 May 2004 22:37:13 +0000 Subject: 2004-05-29 Seth Nickell * python/dbus.py: * python/examples/example-client.py: * python/examples/example-service.py: * python/examples/list-system-services.py: Add SessionBus, SystemBus and ActivationBus classes so you don't need to know the special little BUS_TYPE flag. --- python/examples/list-system-services.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'python/examples/list-system-services.py') diff --git a/python/examples/list-system-services.py b/python/examples/list-system-services.py index 20b79d59..9769fc5a 100644 --- a/python/examples/list-system-services.py +++ b/python/examples/list-system-services.py @@ -3,7 +3,7 @@ import dbus # Get a connection to the SYSTEM bus -bus = dbus.Bus(dbus.Bus.TYPE_SYSTEM) +bus = dbus.SystemBus() # Get the service provided by the dbus-daemon named org.freedesktop.DBus dbus_service = bus.get_service('org.freedesktop.DBus') -- cgit