diff options
Diffstat (limited to 'examples/locking.py')
-rwxr-xr-x | examples/locking.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/locking.py b/examples/locking.py index fbce2f03..4c011337 100755 --- a/examples/locking.py +++ b/examples/locking.py @@ -18,7 +18,7 @@ reason = "locking.py pid %d"%pid bus = dbus.Bus(dbus.Bus.TYPE_SYSTEM) hal_service = bus.get_service("org.freedesktop.Hal") -print "I am %s with pid %d"%(bus.get_connection().get_base_service(), pid) +print "I am %s with pid %d"%(bus.get_connection().get_unique_name(), pid) print dev = hal_service.get_object (dev_udi, "org.freedesktop.Hal.Device") |