On 19-10-2011 14:58:39 -0700, Zac Medico wrote: > On 10/19/2011 12:55 PM, Fabian Groffen wrote: > > + if clold_lines[-1].strip(): > > + f.write(clold_lines[-1]) > > If the old ChangeLog happens to be an empty file, then clold_lines[-1] > will raise IndexError. So, this is safer: > > if clold_lines and clold_lines[-1].strip(): I applied your fix, and moved it from the other patch in this one, where it belongs. -- Fabian Groffen Gentoo on a different level