From 5d18baa42c7d858441b701f9f8d1db08ba9be00e Mon Sep 17 00:00:00 2001 From: Sviatoslav Sydorenko Date: Sun, 9 Jan 2022 00:25:56 +0100 Subject: [PATCH] Drop unnecessary `file_iterable` var --- print-hash.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/print-hash.py b/print-hash.py index 8b0ee98..5a848b7 100755 --- a/print-hash.py +++ b/print-hash.py @@ -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("")