verify-checksum-model.py: This is the result of the program, it should be printed to stdout.
This commit is contained in:
parent
ea449058b6
commit
e0372a1b5a
1 changed files with 2 additions and 1 deletions
|
@ -2,6 +2,7 @@
|
|||
|
||||
import logging
|
||||
import os
|
||||
import sys
|
||||
import hashlib
|
||||
|
||||
logger = logging.getLogger("verify-checksum-models")
|
||||
|
@ -81,4 +82,4 @@ logger.info("-" * 80)
|
|||
|
||||
# Output the results as a table
|
||||
for r in results:
|
||||
logger.info(f"{r['filename']:40} {r['valid checksum']:^20} {r['file missing']:^20}")
|
||||
sys.stdout.write(f"{r['filename']:40} {r['valid checksum']:^20} {r['file missing']:^20}\n")
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue