summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorZac Medico <zmedico@gentoo.org>2010-01-29 21:59:41 +0000
committerZac Medico <zmedico@gentoo.org>2010-01-29 21:59:41 +0000
commitfc323d93e380fa9e95c5af7fc9683146c5152272 (patch)
tree74da803cdf47c096caa5059c1d14ad9dc6dbb2e3
parent942bd37e130610672e46877fa333636f12a30bc6 (diff)
downloadportage-fc323d93e380fa9e95c5af7fc9683146c5152272.tar.gz
portage-fc323d93e380fa9e95c5af7fc9683146c5152272.tar.bz2
portage-fc323d93e380fa9e95c5af7fc9683146c5152272.zip
Define userpriv_groups earlier in order to avoid an AttributeError from
lazy import code. Thanks to antarus for reporting. svn path=/main/trunk/; revision=15277
-rw-r--r--pym/portage/data.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/pym/portage/data.py b/pym/portage/data.py
index c30a3688a..9ec3bc924 100644
--- 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(_(