diff cutils/treesum.py @ 334:5afece258bf2

treesum: FIX: add missing size param
author Franz Glasner <fzglas.hg@dom66.de>
date Sun, 30 Mar 2025 16:20:04 +0200
parents 2a244a05bbb5
children 7620142aacd1
line wrap: on
line diff
--- a/cutils/treesum.py	Fri Mar 28 15:29:15 2025 +0100
+++ b/cutils/treesum.py	Sun Mar 30 16:20:04 2025 +0200
@@ -1026,7 +1026,8 @@
                         self._writer.write_file_digest(
                             self._algorithm[1],
                             util.interpolate_bytes(b"%s/./@/", opath),
-                            linkdgst.digest())
+                            linkdgst.digest(),
+                            size=sz)
                 else:
                     #
                     # Follow the symlink to dir or handle a "real" directory