Remove the "masked by: profile" support from getmaskingstatus().
authorZac Medico <zmedico@gentoo.org>
Fri, 9 Mar 2007 04:25:40 +0000 (04:25 -0000)
committerZac Medico <zmedico@gentoo.org>
Fri, 9 Mar 2007 04:25:40 +0000 (04:25 -0000)
svn path=/main/trunk/; revision=6197

pym/portage/__init__.py

index 6457e56604672ea126efbe46ee81317d8d6fa27c..31b3223086df5c0732c96f72b06a41a17e79d881 100644 (file)
@@ -4491,18 +4491,6 @@ def getmaskingstatus(mycpv, settings=None, portdb=None):
 
        rValue = []
 
-       # profile checking
-       revmaskdict=settings.prevmaskdict
-       if revmaskdict.has_key(mycp):
-               for x in revmaskdict[mycp]:
-                       if x[0]=="*":
-                               myatom = x[1:]
-                       else:
-                               myatom = x
-                       if not match_to_list(mycpv, [myatom]):
-                               rValue.append("profile")
-                               break
-
        # package.mask checking
        maskdict=settings.pmaskdict
        unmaskdict=settings.punmaskdict