summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorZac Medico <zmedico@gentoo.org>2010-03-25 22:31:16 -0700
committerZac Medico <zmedico@gentoo.org>2010-03-25 22:31:16 -0700
commit5877531f9dd4e103f8338bc2bd96c909220ff3ef (patch)
treea04ef65dab843acc551d4e1952ba22be91fa0c14
parent7a3dfc630b82dc8becc1df0ca160b3f5a6708974 (diff)
downloadportage-5877531f9dd4e103f8338bc2bd96c909220ff3ef.tar.gz
portage-5877531f9dd4e103f8338bc2bd96c909220ff3ef.tar.bz2
portage-5877531f9dd4e103f8338bc2bd96c909220ff3ef.zip
Use PORTAGE_USERNAME when populating userpriv_groups.
-rw-r--r--pym/portage/data.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/pym/portage/data.py b/pym/portage/data.py
index 6d19b6455..ff23dbe00 100644
--- a/pym/portage/data.py
+++ b/pym/portage/data.py
@@ -106,7 +106,7 @@ else:
from subprocess import getstatusoutput
except ImportError:
from commands import getstatusoutput
- mystatus, myoutput = getstatusoutput("id -G portage")
+ mystatus, myoutput = getstatusoutput("id -G %s" % PORTAGE_USERNAME)
if mystatus == os.EX_OK:
for x in myoutput.split():
try: