From 181fe6e623953d4d3eb7d11f3e37f4f30d05c22d Mon Sep 17 00:00:00 2001 From: Zac Medico Date: Thu, 20 Mar 2008 21:31:38 +0000 Subject: [PATCH] Fix depgraph._select_package() to make sure the installed package is a real match before rejecting other available packages. svn path=/main/trunk/; revision=9495 --- pym/_emerge/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pym/_emerge/__init__.py b/pym/_emerge/__init__.py index c9c9eb7f2..356acef60 100644 --- a/pym/_emerge/__init__.py +++ b/pym/_emerge/__init__.py @@ -2714,7 +2714,7 @@ class depgraph(object): (myarg and not selective) if not reinstall_for_flags and \ not must_reinstall and \ - vardb.cpv_exists(cpv): + (vardb.cpv_exists(cpv) and vardb.match(atom)): break if installed: must_reinstall = empty or \ -- 2.26.2