blob: 0e3bb3ca6a09ff329ad47f9906c194a607a5c1f6 [file] [log] [blame]
#!/usr/bin/python
import dbus, flimflam
flim = flimflam.FlimFlam(dbus.SystemBus())
for obj in flim.GetObjectList("Device"):
obj_properties = obj.GetProperties(utf8_strings = True)
print "[ %s ]" % (obj.object_path)
for key in obj_properties.keys():
print " %s = %s" % \
(key, flimflam.convert_dbus_value(obj_properties[key], 4))
print