()
| 13 | return shash.hexdigest() |
| 14 | |
| 15 | def hash_all_files(): |
| 16 | with open('output.source', 'w') as outfile: |
| 17 | for filename in glob.glob('./**/*.zip'): |
| 18 | shash = hash_file(filename) |
| 19 | outfile.write(shash.upper() + '\n') |
| 20 | outfile.write(filename[2:] + '\n') |
| 21 | |
| 22 | |
| 23 | hash_all_files() |
no test coverage detected