We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 1f0ea5f + 16bea23 commit be0c47fCopy full SHA for be0c47f
pip/download.py
@@ -444,7 +444,7 @@ def _check_hash(download_hash, link):
444
raise HashMismatch('Hash name mismatch for package %s' % link)
445
if download_hash.hexdigest() != link.hash:
446
logger.fatal("Hash of the package %s (%s) doesn't match the expected hash %s!"
447
- % (link, download_hash, link.hash))
+ % (link, download_hash.hexdigest(), link.hash))
448
raise HashMismatch('Bad %s hash for package %s' % (link.hash_name, link))
449
450
0 commit comments