changeset 213:5a2d9ec204ce

Also log filename problems to stderr
author Franz Glasner <fzglas.hg@dom66.de>
date Fri, 24 Jan 2025 17:10:57 +0100
parents 7cf9df49d0ba
children 798c79420f65
files cutils/treesum.py
diffstat 1 files changed, 1 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/cutils/treesum.py	Thu Jan 23 14:04:07 2025 +0100
+++ b/cutils/treesum.py	Fri Jan 24 17:10:57 2025 +0100
@@ -780,6 +780,7 @@
             if dir_tainted:
                 self._outfp.write(format_bsd_line(
                     b"ERROR", None, b"directory is tainted", False, None))
+                logging.error("Directory has filename problems: %r", opath)
             if self._print_size:
                 self._outfp.write(format_bsd_line(
                     self._algorithm[1], dir_dgst.digest(), opath,