summaryrefslogtreecommitdiffstats
path: root/pym
diff options
context:
space:
mode:
Diffstat (limited to 'pym')
-rw-r--r--pym/_emerge/__init__.py2
1 files changed, 1 insertions, 1 deletions
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 \