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