summaryrefslogtreecommitdiffstats
path: root/pym/_emerge/actions.py
diff options
context:
space:
mode:
Diffstat (limited to 'pym/_emerge/actions.py')
-rw-r--r--pym/_emerge/actions.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/pym/_emerge/actions.py b/pym/_emerge/actions.py
index b7cfd4230..49623aa0c 100644
--- a/pym/_emerge/actions.py
+++ b/pym/_emerge/actions.py
@@ -1228,7 +1228,8 @@ def action_deselect(settings, trees, opts, atoms):
else:
if not atom.startswith(SETPREFIX) and \
arg_atom.intersects(atom) and \
- not (arg_atom.slot and not atom.slot):
+ not (arg_atom.slot and not atom.slot) and \
+ not (arg_atom.repo and not atom.repo):
discard_atoms.add(atom)
break
if discard_atoms: