summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMarcel Holtmann <marcel@holtmann.org>2008-03-14 21:57:50 +0000
committerMarcel Holtmann <marcel@holtmann.org>2008-03-14 21:57:50 +0000
commitecebc8ccbdb75f8924648c640accdb8182c65182 (patch)
treecacc2b51dee163812179a18c9666f7fa40a394a2
parent94a757fea37ba19b3dec1a3318f49d667394f6eb (diff)
Use the new root path for the manager object
-rwxr-xr-xhcid/test-adapter3
-rwxr-xr-xhcid/test-device3
2 files changed, 2 insertions, 4 deletions
diff --git a/hcid/test-adapter b/hcid/test-adapter
index 9887451e..c7540d32 100755
--- a/hcid/test-adapter
+++ b/hcid/test-adapter
@@ -5,8 +5,7 @@ import dbus
bus = dbus.SystemBus()
-manager = dbus.Interface(bus.get_object('org.bluez', '/'),
- 'org.bluez.Manager')
+manager = dbus.Interface(bus.get_object('org.bluez', '/'), 'org.bluez.Manager')
adapter = dbus.Interface(bus.get_object('org.bluez', manager.DefaultAdapter()),
'org.bluez.Adapter')
diff --git a/hcid/test-device b/hcid/test-device
index 034a9c6f..1786d063 100755
--- a/hcid/test-device
+++ b/hcid/test-device
@@ -5,8 +5,7 @@ import dbus
bus = dbus.SystemBus()
-manager = dbus.Interface(bus.get_object('org.bluez', '/org/bluez'),
- 'org.bluez.Manager')
+manager = dbus.Interface(bus.get_object('org.bluez', '/'), 'org.bluez.Manager')
adapter = dbus.Interface(bus.get_object('org.bluez', manager.DefaultAdapter()),
'org.bluez.Adapter')