os.set_inheritable(bwrap_end, True)
# Put this at the usual location for the bus insode the sandbox.
# TODO: What if DBUS_SESSION_BUS_ADDRESS says something else?
os.set_inheritable(bwrap_end, True)
# Put this at the usual location for the bus insode the sandbox.
# TODO: What if DBUS_SESSION_BUS_ADDRESS says something else?
- bwrap.flags.extend(["--bind", filename, XDG_RUNTIME_DIR + "/bus", "--sync-fd", str(bwrap_end)])
+ bwrap.flags.extend(("--bind", filename, XDG_RUNTIME_DIR + "/bus", "--sync-fd", str(bwrap_end)))
recursive_host_access(path, desc, out)
else:
# Allow access to this path
recursive_host_access(path, desc, out)
else:
# Allow access to this path
# Start the recursive traversal
out = []
recursive_host_access("", dirs, out)
# Start the recursive traversal
out = []
recursive_host_access("", dirs, out)