summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorZac Medico <zmedico@gentoo.org>2011-10-05 18:22:35 -0700
committerZac Medico <zmedico@gentoo.org>2011-10-05 18:22:35 -0700
commitca7bef7821876791a26a5f9df6938f4c77fe571f (patch)
treea04b9451977c69a3483001a6d427b8f35591173b
parentmatch_to_list: preserve order (diff)
downloadportage-2.2.0_alpha62.tar.gz
portage-2.2.0_alpha62.tar.bz2
portage-2.2.0_alpha62.zip
elog/collect_ebuild_messages: strip trailing \nv2.2.0_alpha62
This fixes unintended extra blank lines since commit 1c8ff00a26b0e2e3627e9c552374f71235ee6c39.
-rw-r--r--pym/portage/elog/messages.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/pym/portage/elog/messages.py b/pym/portage/elog/messages.py
index 50e0ab10a..f5232d3e2 100644
--- a/pym/portage/elog/messages.py
+++ b/pym/portage/elog/messages.py
@@ -47,6 +47,7 @@ def collect_ebuild_messages(path):
encoding=_encodings['fs'], errors='strict'),
mode='r', encoding=_encodings['repo.content'], errors='replace')
for l in f:
+ l = l.rstrip('\n')
if not l:
continue
try: