From 7b5275ed490c41dc8fe5230acf5c8ddbf8950838 Mon Sep 17 00:00:00 2001 From: Zac Medico Date: Tue, 29 Apr 2008 03:02:20 +0000 Subject: [PATCH] Prevent some more visible downgrades from possibly being missed (bug #219369). svn path=/main/trunk/; revision=10034 --- 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 2ed6474ce..4db340342 100644 --- a/pym/_emerge/__init__.py +++ b/pym/_emerge/__init__.py @@ -2786,7 +2786,10 @@ class depgraph(object): # Make --noreplace take precedence over --newuse. if not installed and noreplace 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 reinstall_for_flags = None cache_key = (pkg_type, root, cpv, pkg_status) calculated_use = True -- 2.26.2