Clean up + fix bad recno erasure in python ts.addErase()
authorPanu Matilainen <pmatilai@redhat.com>
Tue, 22 Sep 2009 12:36:11 +0000 (15:36 +0300)
committerPanu Matilainen <pmatilai@redhat.com>
Tue, 22 Sep 2009 12:36:11 +0000 (15:36 +0300)
commit6f7120694bc7f3a1c56d4639ad345aaa024ba598
treeb7e86fb90f709c94ff54961d9690e27960423ea7
parente95921e29bdaa15094499d9191cd6fbfd0b7e63a
Clean up + fix bad recno erasure in python ts.addErase()
- now that we can loop over RPMDBI_PACKAGES matches, the code can
  be simplified quite a bit
- walk through the iterator always to get a reliable installed status,
  previously ts.addErase() with bad record number wouldn't raise exception
python/rpmts-py.c