Skip to content

Commit

Permalink
fixed bug introduced by suggested commit from reviewer regarding logg…
Browse files Browse the repository at this point in the history
…er using end=
  • Loading branch information
Terry McGuinness committed Jan 28, 2025
1 parent c82b4b7 commit ecc2a70
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions ctests/scripts/validate.py
Original file line number Diff line number Diff line change
Expand Up @@ -45,10 +45,10 @@ def validate_cmpfiles(config):
cmpfiles = config.get("output_files", {}).get("cmpfiles", [])
for pair in cmpfiles:
file_a, file_b = pair
logger.info(f"checking file: {file_b} ... ", end="")
if file_checksum(file_a) != file_checksum(file_b):
logger.error(f"Checksum mismatch: {file_a} vs {file_b}")
raise ValueError(f"Checksum mismatch: {file_a} vs {file_b}")
print("OK")
logger.info(f"checksums match: {file_a} vs {file_b}")


@logit(logger)
Expand Down

0 comments on commit ecc2a70

Please sign in to comment.