Drop unnecessary `file_iterable` var

This commit is contained in:
Sviatoslav Sydorenko 2022-01-09 00:25:56 +01:00 committed by GitHub
parent 0575dc8eab
commit 5d18baa42c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 2 deletions

View File

@ -7,11 +7,10 @@ md5 = hashlib.md5()
blake2_256 = hashlib.blake2b(digest_size=256 // 8)
packages_dir = pathlib.Path(sys.argv[1]).resolve().absolute()
file_iterable = packages_dir.iterdir()
print("Showing hash values of files to be uploaded:")
for file_object in file_iterable:
for file_object in packages_dir.iterdir():
print(file_object)
print("")