projects
/
portage.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8d3c240
)
Make --deselect more careful about repo atoms.
author
Zac Medico
<zmedico@gentoo.org>
Thu, 7 Oct 2010 06:58:58 +0000
(23:58 -0700)
committer
Zac Medico
<zmedico@gentoo.org>
Thu, 7 Oct 2010 06:58:58 +0000
(23:58 -0700)
pym/_emerge/actions.py
patch
|
blob
|
history
diff --git
a/pym/_emerge/actions.py
b/pym/_emerge/actions.py
index b7cfd4230f75abd29284b0300ae054e46c322aa4..49623aa0c31d7dde859a05c0f84881da3bb7334e 100644
(file)
--- 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: