8 from traceback import print_exc
12 bus = dbus.SystemBus()
15 remote_object = bus.get_object("org.netatalk.AFPStats",
16 "/org/netatalk/AFPStats")
18 except dbus.DBusException:
22 iface = dbus.Interface(remote_object, "org.netatalk.AFPStats")
24 reply = iface.GetUsers()
28 if __name__ == '__main__':