header magic is bytes

This commit is contained in:
Mike McLean 2017-05-15 16:11:44 -04:00 committed by Tomas Kopecek
parent a47eb50a34
commit ff6fc4aa77

View file

@ -88,7 +88,7 @@ def _(args):
## Constants ##
RPM_HEADER_MAGIC = '\x8e\xad\xe8'
RPM_HEADER_MAGIC = six.b('\x8e\xad\xe8')
RPM_TAG_HEADERSIGNATURES = 62
RPM_TAG_FILEDIGESTALGO = 5011
RPM_SIGTAG_PGP = 1002