From: Zac Medico Date: Thu, 20 Mar 2008 21:31:38 +0000 (-0000) Subject: Fix depgraph._select_package() to make sure the installed package is a real X-Git-Tag: v2.2_pre6~339 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=181fe6e623953d4d3eb7d11f3e37f4f30d05c22d;p=portage.git 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 --- 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 \