From: Zac Medico Date: Thu, 7 Oct 2010 06:58:58 +0000 (-0700) Subject: Make --deselect more careful about repo atoms. X-Git-Tag: v2.2_rc91~16 X-Git-Url: http://git.tremily.us/gitweb.cgi?a=commitdiff_plain;h=f826f389099a1e62b03db6184529800e4aa109d0;p=portage.git Make --deselect more careful about repo atoms. --- 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: