From: Zac Medico Date: Fri, 26 Mar 2010 05:31:16 +0000 (-0700) Subject: Use PORTAGE_USERNAME when populating userpriv_groups. X-Git-Tag: v2.2_rc68~690 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=5877531f9dd4e103f8338bc2bd96c909220ff3ef;p=portage.git Use PORTAGE_USERNAME when populating userpriv_groups. --- 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: