From f826f389099a1e62b03db6184529800e4aa109d0 Mon Sep 17 00:00:00 2001 From: Zac Medico Date: Wed, 6 Oct 2010 23:58:58 -0700 Subject: [PATCH] Make --deselect more careful about repo atoms. --- pym/_emerge/actions.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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: -- 2.26.2