diff options
author | Samuel Ortiz <sameo@linux.intel.com> | 2012-04-23 07:45:47 +0200 |
---|---|---|
committer | Samuel Ortiz <sameo@linux.intel.com> | 2012-04-23 10:07:44 +0200 |
commit | 95ecea97d2ecd7420ce8f90218631eefb5642e9b (patch) | |
tree | 8cc5ace0d4d65762cadb62c19c37caaf6954c301 /test | |
parent | 78240c647e3e721a0ac309977ce11f3cd7a4a1fe (diff) | |
download | neard-95ecea97d2ecd7420ce8f90218631eefb5642e9b.tar.gz neard-95ecea97d2ecd7420ce8f90218631eefb5642e9b.tar.bz2 neard-95ecea97d2ecd7420ce8f90218631eefb5642e9b.zip |
test: dump-device should use the Device interfae
Diffstat (limited to 'test')
-rwxr-xr-x | test/dump-device | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/test/dump-device b/test/dump-device index a884aff..58b090c 100755 --- a/test/dump-device +++ b/test/dump-device @@ -17,10 +17,10 @@ def extract_record(key, list): val = str(properties[key]) print " %s = %s" % (key, val) -tag = dbus.Interface(bus.get_object("org.neard", sys.argv[1]), - "org.neard.Tag") +device = dbus.Interface(bus.get_object("org.neard", sys.argv[1]), + "org.neard.Device") -properties = tag.GetProperties() +properties = device.GetProperties() print "[ %s ]" % (sys.argv[1]) |