projects
/
portage.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7a3dfc6
)
Use PORTAGE_USERNAME when populating userpriv_groups.
author
Zac Medico
<zmedico@gentoo.org>
Fri, 26 Mar 2010 05:31:16 +0000
(22:31 -0700)
committer
Zac Medico
<zmedico@gentoo.org>
Fri, 26 Mar 2010 05:31:16 +0000
(22:31 -0700)
pym/portage/data.py
patch
|
blob
|
history
diff --git
a/pym/portage/data.py
b/pym/portage/data.py
index 6d19b6455bc26dfb2f3b049ed72594eae1d13cc9..ff23dbe001de381ee14e62a65bd37a2a36759e41 100644
(file)
--- 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: