def __init__(self): try: self._connection = safe_dbus.get_new_system_connection() except GLib.GError as e: if can_touch_runtime_system("raise GLib.GError", touch_live=True): raise log.error("Failed to get safe_dbus connection: %s", e) self._connection = None
def __init__(self): try: self._connection = safe_dbus.get_new_system_connection() except GError as e: if conf.system.provides_system_bus: raise log.error("Failed to get safe_dbus connection: %s", e) self._connection = None
def __init__(self): try: self._connection = safe_dbus.get_new_system_connection() except GLib.GError as e: if can_touch_runtime_system("raise GLib.GError", touch_live=True): raise log.error("Failed to get safe_dbus connection: %s", e) self._connection = None
def __init__(self): try: self._connection = safe_dbus.get_new_system_connection() except GError as e: if conf.system.provides_system_bus: raise log.error("Failed to get safe_dbus connection: %s", e) self._connection = None