# HG changeset patch # User Franz Glasner # Date 1739715937 -3600 # Node ID c3d6599c1b5ea140fca3494938356115c04f012b # Parent a3e25957afb7f06ef26b40726ae79d26cd3c1f2c FIX: treesum: bytearray needs not to be handled diff -r a3e25957afb7 -r c3d6599c1b5e cutils/treesum.py --- a/cutils/treesum.py Sun Feb 16 14:17:10 2025 +0100 +++ b/cutils/treesum.py Sun Feb 16 15:25:37 2025 +0100 @@ -990,7 +990,7 @@ def write_flags(self, flags): self.write(b"FLAGS = ") - if isinstance(flags, (str, bytes, bytearray)): + if isinstance(flags, (str, bytes)): self.writeln(util.b(flags)) else: flags.sort()