def unlock_objects(bus, paths, callback=None):
 service_obj = bus_get_object(bus, SS_PATH)
 service_iface = InterfaceWrapper(service_obj, SERVICE_IFACE)
 (unlocked_paths, prompt) = service_iface.Unlock(paths, signature='ao')
 unlocked_paths = list(unlocked_paths)
 if (len(prompt) > 1):
  if callback:
   exec_prompt(bus, prompt, callback)
  else:
   return exec_prompt_glib(bus, prompt)[0]
 elif callback:
  callback(False, unlocked_paths)

def unlock_objects ( bus , paths , callback = None ) : service_obj = bus_get_object ( bus , SS_PATH ) service_iface = InterfaceWrapper ( service_obj , SERVICE_IFACE ) ( unlocked_paths , prompt ) = service_iface . Unlock ( paths , signature = 'ao' ) unlocked_paths = list ( unlocked_paths ) if ( len ( prompt ) > 1 ) : if callback : exec_prompt ( bus , prompt , callback ) else : return exec_prompt_glib ( bus , prompt ) [ 0 ] elif callback : callback ( False , unlocked_paths )
requests unlocking objects specified in paths .