From: Zac Medico Date: Thu, 20 Mar 2008 21:35:45 +0000 (-0000) Subject: Improve logic from the previous commit. X-Git-Tag: v2.2_pre6~338 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=04075da164e045e57d00f5fcd53744c7706bbff7;p=portage.git Improve logic from the previous commit. svn path=/main/trunk/; revision=9496 --- 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 \