From a3eea98abe4456578ed55d24909a217986c8baba Mon Sep 17 00:00:00 2001 From: Seth Vidal Date: Thu, 11 Aug 2005 21:09:12 +0000 Subject: [PATCH] turn off all signature checking when reading in headers --- dumpMetadata.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dumpMetadata.py b/dumpMetadata.py index aab9ad8..5bb717a 100644 --- a/dumpMetadata.py +++ b/dumpMetadata.py @@ -74,7 +74,7 @@ def returnHdr(ts, package): fdno = package # let's assume this is an fdno and go with it :) except OSError: raise MDError, "Error opening file" - ts.setVSFlags((rpm.RPMVSF_NOMD5|rpm.RPMVSF_NEEDPAYLOAD)) + ts.setVSFlags((rpm._RPMVSF_NOSIGNATURES|rpm.RPMVSF_NOMD5|rpm.RPMVSF_NEEDPAYLOAD)) try: hdr = ts.hdrFromFdno(fdno) except rpm.error: -- 2.34.1