repoman: handle trailing newlines better
authorMike Frysinger <vapier@gentoo.org>
Tue, 12 Jun 2012 22:07:58 +0000 (18:07 -0400)
committerMike Frysinger <vapier@gentoo.org>
Tue, 12 Jun 2012 22:09:06 +0000 (18:09 -0400)
commitbb440128bdf47cbec0789b1e9453ca726ad3dd50
treeadf47cb7126d1ef28b907cf7a3450d37101f6ebf
parent84b1cdcf057576bf59d2f038609e8b32995f3231
repoman: handle trailing newlines better

Automatically strip trailing newlines from the ChangeLog, and be
better about not adding them in the first place (still not perfect,
but getting there).

Signed-off-by: Mike Frysinger <vapier@gentoo.org>
pym/portage/tests/repoman/test_echangelog.py
pym/repoman/utilities.py