projects
/
portage.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c6b5db4
)
Define userpriv_groups earlier in order to avoid an AttributeError from
author
Zac Medico
<zmedico@gentoo.org>
Tue, 2 Mar 2010 18:23:08 +0000
(18:23 -0000)
committer
Zac Medico
<zmedico@gentoo.org>
Tue, 2 Mar 2010 18:23:08 +0000
(18:23 -0000)
lazy import code. Thanks to antarus for reporting. (trunk r15277)
svn path=/main/branches/2.1.7/; revision=15516
pym/portage/data.py
patch
|
blob
|
history
diff --git
a/pym/portage/data.py
b/pym/portage/data.py
index c30a3688a3e61c848f48fd79a4f194af3a81de2a..9ec3bc9243a27dbb44cb1899e5ebb198aaa2e227 100644
(file)
--- a/
pym/portage/data.py
+++ b/
pym/portage/data.py
@@
-84,6
+84,7
@@
try:
except KeyError:
portage_uid=0
portage_gid=0
+ userpriv_groups = [portage_gid]
writemsg(colorize("BAD",
_("portage: 'portage' user or group missing.")) + "\n", noiselevel=-1)
writemsg(_(