From: Zac Medico Date: Fri, 18 Nov 2011 01:43:20 +0000 (-0800) Subject: emerge --changelog: omit entry for current ver X-Git-Tag: v2.2.0_alpha76~8 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=3a60d4637ce9c69936f977a79d636c51257cc886;p=portage.git emerge --changelog: omit entry for current ver This is a regression from commit 69d7f169ba2e27cf56746791331c63a019357100, reported in bug #390893. --- diff --git a/pym/_emerge/resolver/output_helpers.py b/pym/_emerge/resolver/output_helpers.py index dd26534f8..45876611c 100644 --- a/pym/_emerge/resolver/output_helpers.py +++ b/pym/_emerge/resolver/output_helpers.py @@ -519,10 +519,11 @@ def _calc_changelog(ebuildpath,current,next): except EnvironmentError: return [] for node in _find_changelog_tags(changelog): - divisions.append(node) if node[0] == current: found_current = True break + else: + divisions.append(node) if found_current: break