summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJason Stubbs <jstubbs@gentoo.org>2005-12-30 03:25:27 +0000
committerJason Stubbs <jstubbs@gentoo.org>2005-12-30 03:25:27 +0000
commit4626e87c6948e6c8160be935c27b3d3431149f86 (patch)
tree3c42bed5a3a7eef3e5af7d6e8ef0dbfe2cc8604c /bin/emaint
parenttweak multiline whitespace display cause i'm anal like that (diff)
downloadportage-multirepo-4626e87c6948e6c8160be935c27b3d3431149f86.tar.gz
portage-multirepo-4626e87c6948e6c8160be935c27b3d3431149f86.tar.bz2
portage-multirepo-4626e87c6948e6c8160be935c27b3d3431149f86.zip
Remove tests for masked/unavailable packages.
svn path=/main/trunk/; revision=2492
Diffstat (limited to 'bin/emaint')
-rwxr-xr-xbin/emaint10
1 files changed, 0 insertions, 10 deletions
diff --git a/bin/emaint b/bin/emaint
index 2054f42c..34956926 100755
--- a/bin/emaint
+++ b/bin/emaint
@@ -16,8 +16,6 @@ class WorldHandler(object):
def __init__(self):
self.invalid = []
self.not_installed = []
- self.masked = []
- self.unavailable = []
self.okay = []
self.found = os.access(portage_const.WORLD_FILE, os.R_OK)
@@ -26,10 +24,6 @@ class WorldHandler(object):
self.invalid.append(atom)
elif not portage.db["/"]["vartree"].dbapi.match(atom):
self.not_installed.append(atom)
- elif not portage.db["/"]["porttree"].dbapi.xmatch("match-all", atom):
- self.unavailable.append(atom)
- elif not portage.db["/"]["porttree"].dbapi.match("match-visible", atom):
- self.masked.append(atom)
else:
self.okay.append(atom)
@@ -38,10 +32,6 @@ class WorldHandler(object):
if self.found:
errors += map(lambda x: "'%s' is not a valid atom" % x, self.invalid)
errors += map(lambda x: "'%s' is not installed" % x, self.not_installed)
- errors += map(lambda x: "'%s' is masked (manually fix by adding to package.keywords)" % x, self.masked)
- errors += map(lambda x: "'%s' has no ebuilds available" % x, self.unavailable)
- if self.masked:
- errors += "Masked ebuilds can be manually unmasked with package.keywords or package.unmask"
else:
errors.append(portage_const.WORLD_FILE + " could not be opened for reading")
return errors