#!/usr/bin/python
+from __future__ import absolute_import, print_function, unicode_literals
+
import dbus
bus = dbus.SystemBus()
objects = manager.GetManagedObjects()
for path in objects.keys():
- print "[ %s ]" % (path)
+ print("[ %s ]" % (path))
interfaces = objects[path]
"org.freedesktop.DBus.Properties"]:
continue
- print " %s" % (interface)
+ print(" %s" % (interface))
properties = interfaces[interface]
for key in properties.keys():
- print " %s = %s" % (key, properties[key])
+ print(" %s = %s" % (key, properties[key]))