summaryrefslogtreecommitdiff
path: root/examples/locking.py
diff options
context:
space:
mode:
Diffstat (limited to 'examples/locking.py')
-rwxr-xr-xexamples/locking.py2
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")