From 60e48b0bffa0cda0bc540c22403e8ecd175e2b9e Mon Sep 17 00:00:00 2001 From: Zac Medico Date: Tue, 29 Apr 2008 03:13:32 +0000 Subject: [PATCH] Prevent some more visible downgrades from possibly being missed (bug #219369). svn path=/main/trunk/; revision=10035 --- pym/_emerge/__init__.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) 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) -- 2.26.2