Commit fe35923c authored by Sam Thursfield's avatar Sam Thursfield

utils/sandbox: Be clearer when we are reusing a D-Bus session

This can cause errors if the session file is stale, so it needs to be
obvious when this is happening.
parent 1d758d5f
......@@ -388,8 +388,8 @@ def environment_set():
debug('Using new D-Bus session with address "%s" with PID %d' %
(dbus_session_address, dbus_session_pid))
else:
debug('Using existing D-Bus session with address "%s" with PID %d' %
(dbus_session_address, dbus_session_pid))
debug('Using existing D-Bus session from file "%s" with address "%s" with PID %d' %
(dbus_session_file, dbus_session_address, dbus_session_pid))
# Important, other subprocesses must use our new bus
os.environ['DBUS_SESSION_BUS_ADDRESS'] = dbus_session_address
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment