···91 if release['filename'].endswith(extension):
92 # TODO: In case of wheel we need to do further checks!
93 sha256 = release['digests']['sha256']
94-095 return version, sha256
9697
···91 if release['filename'].endswith(extension):
92 # TODO: In case of wheel we need to do further checks!
93 sha256 = release['digests']['sha256']
94+ else:
95+ sha256 = None
96 return version, sha256
9798