diff cutils/treesum.py @ 169:91b8b2a8aebc

Sort flags in the output
author Franz Glasner <fzglas.hg@dom66.de>
date Thu, 09 Jan 2025 18:11:38 +0100
parents bcc4441cf216
children 8945be6b404e
line wrap: on
line diff
--- a/cutils/treesum.py	Thu Jan 09 18:02:46 2025 +0100
+++ b/cutils/treesum.py	Thu Jan 09 18:11:38 2025 +0100
@@ -301,6 +301,7 @@
     if print_size:
         flags.append("print-size")
     if flags:
+        flags.sort()
         outfp.write(format_bsd_line("FLAGS", ",".join(flags), None, False))
         outfp.flush()