From 2386f98d8b873f671318c4fdc1c9f592f09d65fa Mon Sep 17 00:00:00 2001 From: Fabian Groffen Date: Mon, 24 Mar 2008 15:09:50 +0000 Subject: [PATCH] Merged from trunk 9494:9496 | 9495 | Fix depgraph._select_package() to make sure the installed | | zmedico | package is a real match before rejecting other available | | | packages. | | 9496 | Improve logic from the previous commit. | | zmedico | | svn path=/main/branches/prefix/; revision=9501 --- 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 8d2178195..8e163233a 100644 --- a/pym/_emerge/__init__.py +++ b/pym/_emerge/__init__.py @@ -2745,7 +2745,7 @@ class depgraph(object): (myarg and not selective) if not reinstall_for_flags and \ not must_reinstall and \ - vardb.cpv_exists(cpv): + cpv in vardb.match(atom): break if installed: must_reinstall = empty or \ -- 2.26.2