From: Zac Medico Date: Tue, 2 Mar 2010 18:23:08 +0000 (-0000) Subject: Define userpriv_groups earlier in order to avoid an AttributeError from X-Git-Tag: v2.1.8~206 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=31817a261d29908d5cb2892c9c94130cf8d90618;p=portage.git Define userpriv_groups earlier in order to avoid an AttributeError from lazy import code. Thanks to antarus for reporting. (trunk r15277) svn path=/main/branches/2.1.7/; revision=15516 --- 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(_(