Trim the trailing whitespaces in `print-hash.py`

This commit is contained in:
Sviatoslav Sydorenko 2022-01-09 12:53:19 +01:00
parent 4992a00fb2
commit 717ba43cfb
No known key found for this signature in database
GPG Key ID: 9345E8FEA89CA455
1 changed files with 2 additions and 2 deletions

View File

@ -10,12 +10,12 @@ for file_object in packages_dir.iterdir():
sha256 = hashlib.sha256() sha256 = hashlib.sha256()
md5 = hashlib.md5() md5 = hashlib.md5()
blake2_256 = hashlib.blake2b(digest_size=256 // 8) blake2_256 = hashlib.blake2b(digest_size=256 // 8)
print(file_object) print(file_object)
print("") print("")
content = file_object.read_bytes() content = file_object.read_bytes()
sha256.update(content) sha256.update(content)
md5.update(content) md5.update(content)
blake2_256.update(content) blake2_256.update(content)