Commits

Daniel Holth  committed f6d24e4

error message

  • Participants
  • Parent commits 148a1c5

Comments (0)

Files changed (2)

 4dff091bd719cf98ee085f8faa8f86c5e8211717 0.5
 fbd2bca2a26246ca45c7d915f88622a6c6637088 0.6
 4957a9a0942dec10c046ed2e42cc47406b64aa42 0.7
-e2d30b2504208769f2736be8890b24b817457a31 0.9
-e2d30b2504208769f2736be8890b24b817457a31 0.9
 26316328593c9e5d4cf4079927625e6996312958 0.9

File wheel/install.py

         if sig:
             headers, payload = signatures.verify(sig)
             if payload['hash'] != "sha256=" + native(record_digest):
-                raise BadWheelFile("Claimed RECORD hash != computed hash.")
+                raise BadWheelFile("RECORD.sig claimed RECORD hash %r != computed hash %r." % (payload['hash'], record_digest))
         
         reader = csv.reader((native(r) for r in record.splitlines()))