Drop the warning messages for users that aren't in the portage group since tpordbapi...
authorZac Medico <zmedico@gentoo.org>
Mon, 25 Dec 2006 05:42:45 +0000 (05:42 -0000)
committerZac Medico <zmedico@gentoo.org>
Mon, 25 Dec 2006 05:42:45 +0000 (05:42 -0000)
svn path=/main/trunk/; revision=5387

pym/portage_data.py

index ba6000f946b9a4d8cf19ba65fb0d4ef52b461d5f..649b54dd85491080186d9bfbde76429701dd4957 100644 (file)
@@ -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():