mirror of
https://github.com/pypa/gh-action-pypi-publish.git
synced 2024-11-25 10:01:02 -05:00
Trim the trailing whitespaces in print-hash.py
This commit is contained in:
parent
4992a00fb2
commit
717ba43cfb
1 changed files with 2 additions and 2 deletions
|
@ -10,12 +10,12 @@ for file_object in packages_dir.iterdir():
|
|||
sha256 = hashlib.sha256()
|
||||
md5 = hashlib.md5()
|
||||
blake2_256 = hashlib.blake2b(digest_size=256 // 8)
|
||||
|
||||
|
||||
print(file_object)
|
||||
print("")
|
||||
|
||||
content = file_object.read_bytes()
|
||||
|
||||
|
||||
sha256.update(content)
|
||||
md5.update(content)
|
||||
blake2_256.update(content)
|
||||
|
|
Loading…
Reference in a new issue