From 0abea23fb64b0ab008ec66a326b07b53737024c8 Mon Sep 17 00:00:00 2001 From: Necoro <> Date: Mon, 8 Oct 2007 16:56:12 +0000 Subject: make it work w/ root --- doc/Changelog | 1 + doc/TODO | 6 +++--- portato.py | 4 +++- 3 files changed, 7 insertions(+), 4 deletions(-) diff --git a/doc/Changelog b/doc/Changelog index 960f46c..31a9a92 100644 --- a/doc/Changelog +++ b/doc/Changelog @@ -3,6 +3,7 @@ next: - adding support for the "--with-bdeps=y" option in EMERGE_DEFAULT_OPTS - fix update world - added support for pygtksourceview-2 +- adding support for the catapult backend 0.8.5: - added an uncaught exception dialog diff --git a/doc/TODO b/doc/TODO index 40f2b78..720a5c4 100644 --- a/doc/TODO +++ b/doc/TODO @@ -4,9 +4,9 @@ Documentation: Backend: ======== -- add Paludis support -- add pkgcore support -- add equo support +- add Paludis support \ +- add pkgcore support |-> not necessairy if catapult is used +- add equo support / - bugs in update world (Necoro, 04/20/07: are there any more bugs?) - fix for flag handling, when reverting flags (Necoro, 04/20/07: what did i mean by this?) diff --git a/portato.py b/portato.py index da1ed88..765e070 100755 --- a/portato.py +++ b/portato.py @@ -103,7 +103,9 @@ def main (): additional.extend(["-f", options.frontend]) cmd = SU_COMMAND.split() - os.execvpe(cmd[0], cmd+["%s --no-listener %s" % (sys.argv[0], " ".join(additional))], env = os.environ) + env = os.environ.copy() + env.update(DBUS_SESSION_BUS_ADDRESS="") + os.execvpe(cmd[0], cmd+["%s --no-listener %s" % (sys.argv[0], " ".join(additional))], env = env) else: # start listener listener.set_recv() -- cgit v1.2.3