summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorZac Medico <zmedico@gentoo.org>2008-04-29 03:13:32 +0000
committerZac Medico <zmedico@gentoo.org>2008-04-29 03:13:32 +0000
commit60e48b0bffa0cda0bc540c22403e8ecd175e2b9e (patch)
treeacfd8e505ab3dd60e2a9c61eef4596ef351fafcc
parent7b5275ed490c41dc8fe5230acf5c8ddbf8950838 (diff)
downloadportage-60e48b0bffa0cda0bc540c22403e8ecd175e2b9e.tar.gz
portage-60e48b0bffa0cda0bc540c22403e8ecd175e2b9e.tar.bz2
portage-60e48b0bffa0cda0bc540c22403e8ecd175e2b9e.zip
Prevent some more visible downgrades from possibly being missed (bug #219369).
svn path=/main/trunk/; revision=10035
-rw-r--r--pym/_emerge/__init__.py5
1 files changed, 4 insertions, 1 deletions
diff --git a/pym/_emerge/__init__.py b/pym/_emerge/__init__.py
index 4db340342..a08ce45f6 100644
--- a/pym/_emerge/__init__.py
+++ b/pym/_emerge/__init__.py
@@ -2947,7 +2947,10 @@ class depgraph(object):
if not reinstall_for_flags and \
not must_reinstall and \
cpv in vardb.match(atom):
- break
+ # If the installed version is masked, it may
+ # be necessary to look at lower versions,
+ # in case there is a visible downgrade.
+ continue
if not built:
myeb = cpv
matched_packages.append(pkg)