def maybe_time_out(): """Set up a timeout to exit the daemon if no interesting mounts exist""" if interesting_mounts_exist(): return GLib.timeout_add_seconds(IDLE_TIMEOUT, timeout_cb)