UpdateChangeLog: optimize and add unicode support
authorZac Medico <zmedico@gentoo.org>
Mon, 17 Oct 2011 00:11:08 +0000 (17:11 -0700)
committerZac Medico <zmedico@gentoo.org>
Mon, 17 Oct 2011 00:11:08 +0000 (17:11 -0700)
commitb655137b7b5f87c11a7e742b7ef0e028a1139677
treed9459447703d8a9c0f629f7a9e6a3e2380ee022e
parentf757cd2a4dd2d3634743c207a4aadb3f217bfce1
UpdateChangeLog: optimize and add unicode support

Also:
* copy the old header from the old ChangeLog if it exists, in case it
  contains a non-gentoo header
* don't add a header if the old ChangeLog exists and doesn't contain
  a header
pym/repoman/utilities.py