Push most work of ts.addErase() over to python
authorPanu Matilainen <pmatilai@redhat.com>
Fri, 2 Oct 2009 19:48:03 +0000 (22:48 +0300)
committerPanu Matilainen <pmatilai@redhat.com>
Fri, 2 Oct 2009 19:48:03 +0000 (22:48 +0300)
commit9b20c706a4f93266450fae2f94007343b2e8fd9e
treecdd0a6b58c4914dfee6514dfd4bc2f757f5edadf
parentab04cfb08c5fbdf4e9803b2d63352fee0527937e
Push most work of ts.addErase() over to python
- minimize the stuff done in C: rpmtsAddEraseElement() only cares about
  header, so that's what we accept on C-level bindings
- on python side, handle db recno's and labels like we've always done,
  additionally accept match iterators and plain headers too
python/rpm/transaction.py
python/rpmts-py.c