projects
/
portage.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
07057dd
)
stack_lists: optimize repo logic
author
Zac Medico
<zmedico@gentoo.org>
Fri, 26 Nov 2010 21:46:26 +0000
(13:46 -0800)
committer
Zac Medico
<zmedico@gentoo.org>
Fri, 26 Nov 2010 21:46:26 +0000
(13:46 -0800)
pym/portage/util/__init__.py
patch
|
blob
|
history
diff --git
a/pym/portage/util/__init__.py
b/pym/portage/util/__init__.py
index e0908f0a3de9bbbbaa2c86ca42b8debf312b077d..e8b60fbfd3ca716913360f616c0fecf5a27b4d88 100644
(file)
--- a/
pym/portage/util/__init__.py
+++ b/
pym/portage/util/__init__.py
@@
-270,8
+270,9
@@
def stack_lists(lists, incremental=1, remember_source_file=False,
if ignore_repo and not "::" in token:
#Let -cat/pkg remove cat/pkg::repo.
to_be_removed = []
+ token_slice = token[1:]
for atom in new_list:
- if atom
== token[1:] or atom.split("::")[0] == token[1:]
:
+ if atom
.without_repo == token_slice
:
to_be_removed.append(atom)
if to_be_removed:
matched = True