diff options
author | Fabian Groffen <grobian@gentoo.org> | 2010-09-18 11:53:04 +0200 |
---|---|---|
committer | Fabian Groffen <grobian@gentoo.org> | 2010-09-18 11:53:04 +0200 |
commit | 33e225f07b92786428f20fc5d40cd09364dfc4a5 (patch) | |
tree | 260e7799adb61c32ff019f5159d4ea6b52a69b83 | |
parent | fd309031cea3bab8d024737375501f2df9c3c2bf (diff) | |
download | portage-33e225f07b92786428f20fc5d40cd09364dfc4a5.tar.gz portage-33e225f07b92786428f20fc5d40cd09364dfc4a5.tar.bz2 portage-33e225f07b92786428f20fc5d40cd09364dfc4a5.zip |
Fix off-by-one; don't print useless "and 0 more" message.
-rw-r--r-- | pym/portage/util/__init__.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pym/portage/util/__init__.py b/pym/portage/util/__init__.py index 248c33bf2..fed229a5d 100644 --- 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) |