turn off all signature checking when reading in headers
authorSeth Vidal <skvidal@linux.duke.edu>
Thu, 11 Aug 2005 21:09:12 +0000 (21:09 +0000)
committerSeth Vidal <skvidal@linux.duke.edu>
Thu, 11 Aug 2005 21:09:12 +0000 (21:09 +0000)
dumpMetadata.py

index aab9ad8cb9a3bed052c309536cd7243c89c020f7..5bb717a697dc5d370f71ac4224efb902976809bb 100644 (file)
@@ -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: