From 31817a261d29908d5cb2892c9c94130cf8d90618 Mon Sep 17 00:00:00 2001 From: Zac Medico Date: Tue, 2 Mar 2010 18:23:08 +0000 Subject: [PATCH] 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 --- pym/portage/data.py | 1 + 1 file changed, 1 insertion(+) 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(_( -- 2.26.2