diff options
author | Jason Stubbs <jstubbs@gentoo.org> | 2005-12-30 03:25:27 +0000 |
---|---|---|
committer | Jason Stubbs <jstubbs@gentoo.org> | 2005-12-30 03:25:27 +0000 |
commit | 4626e87c6948e6c8160be935c27b3d3431149f86 (patch) | |
tree | 3c42bed5a3a7eef3e5af7d6e8ef0dbfe2cc8604c | |
parent | 179f4294839d7682dde2503d6020d7cfdd6b2d10 (diff) | |
download | portage-4626e87c6948e6c8160be935c27b3d3431149f86.tar.gz portage-4626e87c6948e6c8160be935c27b3d3431149f86.tar.bz2 portage-4626e87c6948e6c8160be935c27b3d3431149f86.zip |
Remove tests for masked/unavailable packages.
svn path=/main/trunk/; revision=2492
-rwxr-xr-x | bin/emaint | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/bin/emaint b/bin/emaint index 2054f42c7..34956926f 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 |