projects
/
portage.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
fcc8105
)
elog/collect_ebuild_messages: strip trailing \n
v2.2.0_alpha62
author
Zac Medico
<zmedico@gentoo.org>
Thu, 6 Oct 2011 01:22:35 +0000
(18:22 -0700)
committer
Zac Medico
<zmedico@gentoo.org>
Thu, 6 Oct 2011 01:22:35 +0000
(18:22 -0700)
This fixes unintended extra blank lines since commit
1c8ff00a26b0e2e3627e9c552374f71235ee6c39
.
pym/portage/elog/messages.py
patch
|
blob
|
history
diff --git
a/pym/portage/elog/messages.py
b/pym/portage/elog/messages.py
index 50e0ab10a9deb8a75f84917dac7bf545a81619c6..f5232d3e2420ee313fd962a36a50c84e0636630a 100644
(file)
--- 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: