summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorZac Medico <zmedico@gentoo.org>2010-05-20 16:45:24 -0700
committerZac Medico <zmedico@gentoo.org>2010-05-20 16:45:24 -0700
commitf4097bd5e52c9c546a6092b8ed5c0d918320a054 (patch)
tree41b5e9cfabb9f0684149079def566dc0eb66560c
parent2361ed95f62da3dde8c096adee49058f4a6c65a4 (diff)
downloadportage-f4097bd5e52c9c546a6092b8ed5c0d918320a054.tar.gz
portage-f4097bd5e52c9c546a6092b8ed5c0d918320a054.tar.bz2
portage-f4097bd5e52c9c546a6092b8ed5c0d918320a054.zip
Make the non --update package selection logic avoid installed packages if
they are masked. Thanks to Daniel Robbins for reporting.
-rw-r--r--pym/_emerge/depgraph.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/pym/_emerge/depgraph.py b/pym/_emerge/depgraph.py
index ecc321c05..c102a7a2d 100644
--- a/pym/_emerge/depgraph.py
+++ b/pym/_emerge/depgraph.py
@@ -2715,7 +2715,7 @@ class depgraph(object):
if avoid_update:
for pkg in matched_packages:
- if pkg.installed:
+ if pkg.installed and pkg.visible:
return pkg, existing_node
bestmatch = portage.best(