422
422
""" send a dbus signal to the com.ubuntu.sso service to clear
423
423
the credentials for the given appname, e.g. _("Ubuntu Software Center")
431
434
obj = bus.get_object(bus_name=DBUS_BUS_NAME,
432
435
object_path=DBUS_CREDENTIALS_PATH,
433
436
follow_name_owner_changes=True)
434
437
proxy = dbus.Interface(object=obj,
435
438
dbus_interface=DBUS_CREDENTIALS_IFACE)
436
442
proxy.clear_credentials(appname, {})
439
449
def get_nice_date_string(cur_t):