Commit 9933780e authored by Eric Duminil's avatar Eric Duminil
Browse files

Debug modified files

parent afcdf296
...@@ -180,12 +180,12 @@ def _get_all_files(folder: Path) -> dict[Path, float]: ...@@ -180,12 +180,12 @@ def _get_all_files(folder: Path) -> dict[Path, float]:
def _compare_written_files(repo_path: Path, before: dict, after: dict) -> list[Path]: def _compare_written_files(repo_path: Path, before: dict, after: dict) -> list[Path]:
modified = [] modified = []
log.info("# Listing written files:") log.debug("# Listing written files:")
for result_file, mtime in sorted(after.items()): for result_file, mtime in sorted(after.items()):
if mtime > before.get(result_file, 0): if mtime > before.get(result_file, 0):
log.info(" * '%s'", result_file.relative_to(repo_path)) log.debug(" * '%s'", result_file.relative_to(repo_path))
modified.append(result_file) modified.append(result_file)
log.info("") log.debug("")
return modified return modified
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment