Clean up python ts object creation.
authorPanu Matilainen <pmatilai@redhat.com>
Fri, 13 Jul 2007 09:46:48 +0000 (12:46 +0300)
committerPanu Matilainen <pmatilai@redhat.com>
Fri, 13 Jul 2007 09:46:48 +0000 (12:46 +0300)
commit7ed32d335125cb406c6361167e10b095ab1e5a26
treec36d2a2f64adac8de3152af0a23df54c02e7de36
parent2404685050a3405602225274d09d02baeb28a547
Clean up python ts object creation.
- Remove code duplication by making rpmts_Create() just a wrapper that calls
  rpmtsObject to create the instance
- Move the initialization from rpmts_init() to rpmts_new(), calling
  ts.__init__() multiple times isn't something we want to allow (setting
  vsflags multiple times is ok but there's a method to do that already)
python/rpmts-py.c
python/rpmts-py.h