From 04075da164e045e57d00f5fcd53744c7706bbff7 Mon Sep 17 00:00:00 2001 From: Zac Medico Date: Thu, 20 Mar 2008 21:35:45 +0000 Subject: Improve logic from the previous commit. svn path=/main/trunk/; revision=9496 --- pym/_emerge/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'pym/_emerge/__init__.py') diff --git a/pym/_emerge/__init__.py b/pym/_emerge/__init__.py index 356acef60..e6dedb960 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) and vardb.match(atom)): + cpv in vardb.match(atom): break if installed: must_reinstall = empty or \ -- cgit v1.2.3-1-g7c22