Skip to content

Commit

Permalink
Drop unnecessary file_iterable var
Browse files Browse the repository at this point in the history
  • Loading branch information
webknjaz authored Jan 8, 2022
1 parent 0575dc8 commit 5d18baa
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions print-hash.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,11 +7,10 @@
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("")

Expand Down

0 comments on commit 5d18baa

Please sign in to comment.