Support constructing header data from python
authorPanu Matilainen <pmatilai@redhat.com>
Tue, 24 Nov 2009 12:27:49 +0000 (14:27 +0200)
committerPanu Matilainen <pmatilai@redhat.com>
Tue, 24 Nov 2009 12:32:05 +0000 (14:32 +0200)
commit39e15e7a678dfcfc0c03449b2ebc327569933f31
treee139e9a9ad62fb9859bedd6353b303c4677ee797
parent897f06b9100437e6074ec5a816a83779662ddb4b
Support constructing header data from python
- no proper i18n string support yet, just the basic types
- basic data type validation only, no overflow checking for integer types
- for lists, validate all items before trying to insert anything
- duplicate tag creation not permitted
- appending not permitted, only assignment (and deletion already)
- there are probably bugs...
- watch out for librpm bugs when passed incomplete headers, ugh
python/header-py.c