From 3a60d4637ce9c69936f977a79d636c51257cc886 Mon Sep 17 00:00:00 2001 From: Zac Medico Date: Thu, 17 Nov 2011 17:43:20 -0800 Subject: [PATCH] emerge --changelog: omit entry for current ver This is a regression from commit 69d7f169ba2e27cf56746791331c63a019357100, reported in bug #390893. --- pym/_emerge/resolver/output_helpers.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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 -- 2.26.2