summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorZac Medico2011-11-18 01:43:20 (GMT)
committerZac Medico2011-11-18 01:43:20 (GMT)
commit3a60d4637ce9c69936f977a79d636c51257cc886 (patch)
treea49b45a7dd6d2edd0e36c6944744854b19fefdc7
parent458ce208ed25f2d17666926585e14da6166eb9d7 (diff)
emerge --changelog: omit entry for current ver
This is a regression from commit 69d7f169ba2e27cf56746791331c63a019357100, reported in bug #390893.
-rw-r--r--pym/_emerge/resolver/output_helpers.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/pym/_emerge/resolver/output_helpers.py b/pym/_emerge/resolver/output_helpers.py
index dd26534..4587661 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