On Sun, 13 Jan 2002, seth vidal wrote: > Hi, > When you get the header from a package and iterate over the dict that > this module gives you it spits back numbers for the keys. I know the > numbers are in rpmlib.h (thanks very much to j. katz) I was wondering if > there is a good way to do a translation to a name if its available? > > ie: headerkey.translaterpmhdrnum() (or something like that) Is this what you're looking for? rpm.tagnames[headerkey]
Attachment:
pgp00012.pgp
Description: PGP signature