Mercurial > hgrepos > Python > apps > py-cutils
diff cutils/treesum.py @ 262:c3d6599c1b5e
FIX: treesum: bytearray needs not to be handled
| author | Franz Glasner <fzglas.hg@dom66.de> |
|---|---|
| date | Sun, 16 Feb 2025 15:25:37 +0100 |
| parents | a3e25957afb7 |
| children | 0add8276e6b8 |
line wrap: on
line diff
--- 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()
