Add support for creating new header objects
authorPanu Matilainen <pmatilai@redhat.com>
Wed, 23 Sep 2009 05:51:12 +0000 (08:51 +0300)
committerPanu Matilainen <pmatilai@redhat.com>
Wed, 23 Sep 2009 05:51:12 +0000 (08:51 +0300)
commitcfc341170cdd5b324a3b90eb1b13620fd39298b4
treedebd7730e3926c49e15110aad4fcb4f56221d990
parent848de2dfec3f545801574a6219df8f081d66c5e0
Add support for creating new header objects
- without arguments, rpm.hdr() creates an empty header
- with another header as argument, make a copy
- string argument is considered an unloaded header blob and copy-loaded
python/header-py.c