projects
/
portage.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
fd30903
)
Fix off-by-one; don't print useless "and 0 more" message.
author
Fabian Groffen
<grobian@gentoo.org>
Sat, 18 Sep 2010 09:53:04 +0000
(11:53 +0200)
committer
Fabian Groffen
<grobian@gentoo.org>
Sat, 18 Sep 2010 09:53:04 +0000
(11:53 +0200)
pym/portage/util/__init__.py
patch
|
blob
|
history
diff --git
a/pym/portage/util/__init__.py
b/pym/portage/util/__init__.py
index 248c33bf28fefd0d03a30a00b4466dc8b12efc02..fed229a5de6fd1b9fd8d1ac291a24144107cc6bd 100644
(file)
--- a/
pym/portage/util/__init__.py
+++ b/
pym/portage/util/__init__.py
@@
-271,7
+271,7
@@
def stack_lists(lists, incremental=1, remember_source_file=False,
if warn_for_unmatched_removal:
for source_file, tokens in unmatched_removals.items():
- if len(tokens) >
3
:
+ if len(tokens) >
4
:
selected = [tokens.pop(), tokens.pop(), tokens.pop()]
writemsg(_("--- Unmatch removal atoms in %s: %s and %s more\n") % (source_file, ", ".join(selected), len(tokens)-3),
noiselevel=-1)