Skip to content

Commit

Permalink
all tests run under posix again
Browse files Browse the repository at this point in the history
  • Loading branch information
ptrpfn committed Nov 22, 2024
1 parent 8f156d8 commit 01a7e7d
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions ascmhl/generator.py
Original file line number Diff line number Diff line change
Expand Up @@ -138,9 +138,10 @@ def append_file_hash(
hash_entry = MHLHashEntry(hash_format, hash_string, hash_date=hash_date)
if original_hash_entry is None:
hash_entry.action = "original"
logger.verbose(
f" created original hash for {Path(relative_path).as_posix()} {hash_format}: {hash_string}"
)
if relative_path != None:
logger.verbose(
f" created original hash for {Path(relative_path).as_posix()} {hash_format}: {hash_string}"
)
else:
existing_hash_entry = history.find_first_hash_entry_for_path(history_relative_path, hash_format)
if existing_hash_entry is not None:
Expand Down

0 comments on commit 01a7e7d

Please sign in to comment.