From c35a6d0e825e72b8779610ae2a647ca903efe4da Mon Sep 17 00:00:00 2001 From: Zac Medico Date: Mon, 25 Dec 2006 05:42:45 +0000 Subject: Drop the warning messages for users that aren't in the portage group since tpordbapi now correctly puts the on-disk cache into readonly mode in this case (and allows metadata generation in-memory if necessary). svn path=/main/trunk/; revision=5387 --- pym/portage_data.py | 8 -------- 1 file changed, 8 deletions(-) diff --git a/pym/portage_data.py b/pym/portage_data.py index ba6000f94..649b54dd8 100644 --- a/pym/portage_data.py +++ b/pym/portage_data.py @@ -102,14 +102,6 @@ except KeyError: writemsg("\n") portage_group_warning() -if (uid!=0) and (portage_gid not in os.getgroups()): - writemsg("\n") - writemsg(red("*** You are not in the portage group. You may experience cache problems\n")) - writemsg(red("*** due to permissions preventing the creation of the on-disk cache.\n")) - writemsg(red("*** Please add this user to the portage group if you wish to use portage.\n")) - writemsg("\n") - portage_group_warning() - userpriv_groups = [portage_gid] if secpass >= 2: for g in grp.getgrall(): -- cgit v1.2.3-1-g7c22