Update module initialization to work with both Python 2.x and 3.x
authorPanu Matilainen <pmatilai@redhat.com>
Thu, 29 Oct 2009 10:56:18 +0000 (12:56 +0200)
committerPanu Matilainen <pmatilai@redhat.com>
Thu, 29 Oct 2009 10:56:18 +0000 (12:56 +0200)
commit121b69b39529c2b5b9557eba96fd551e5295ccbd
tree4053f7b4f26680c8de10d555819b0369fa278859
parent16f9d7f4dcce8edc6458cd94ee0c7afda2c5dece
Update module initialization to work with both Python 2.x and 3.x
- split common initialization tasks to separate functions, so that only the
  details of initializing a python module object differ
- patch from David Malcolm
python/rpmbmodule.c
python/rpmmodule.c