From 5877531f9dd4e103f8338bc2bd96c909220ff3ef Mon Sep 17 00:00:00 2001 From: Zac Medico Date: Thu, 25 Mar 2010 22:31:16 -0700 Subject: [PATCH] Use PORTAGE_USERNAME when populating userpriv_groups. --- pym/portage/data.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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: -- 2.26.2