verify-checksum-model.py: This is the result of the program, it should be printed to stdout.

This commit is contained in:
brian khuu 2024-04-18 13:56:05 +10:00
parent ea449058b6
commit e0372a1b5a

View file

@ -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")