From e3ea4c5fa235119597f7cf6af4ba3d3abd9a0780 Mon Sep 17 00:00:00 2001 From: Imanol-Mikel Barba Sabariego Date: Mon, 31 Oct 2016 12:12:41 +0100 Subject: [PATCH] Removed debug prints. Forgot to close hashes file --- digger.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/digger.py b/digger.py index 75b0699..29d57ab 100644 --- a/digger.py +++ b/digger.py @@ -57,11 +57,10 @@ def bagAndTag(): for root, dirnames, filenames in os.walk(tombPath): for dir in dirnames: - print(dir) for subroot, subdirnames, subfilenames in os.walk(tombPath + dir): - print(subfilenames) for filename in subfilenames: hashes.write(sha256sum(subroot + "/" + filename) + " " + subroot + "/" + filename + "\n") + hashes.close() def finish(allSuccessful): bagAndTag() -- libgit2 0.22.2