Mercurial > hgrepos > Python > apps > py-cutils
comparison cutils/treesum.py @ 321:49ecfff4f319
treesum: FIX: CRC32Output is not needed any more: do not wrap anything with it
| author | Franz Glasner <fzglas.hg@dom66.de> |
|---|---|
| date | Wed, 26 Mar 2025 12:56:19 +0100 |
| parents | fc1b940bd4a6 |
| children | 0cabc5439505 |
comparison
equal
deleted
inserted
replaced
| 320:6e420f26bcb3 | 321:49ecfff4f319 |
|---|---|
| 510 else: | 510 else: |
| 511 if opts.append_output: | 511 if opts.append_output: |
| 512 out_cm = open(opts.output, "ab") | 512 out_cm = open(opts.output, "ab") |
| 513 else: | 513 else: |
| 514 out_cm = open(opts.output, "wb") | 514 out_cm = open(opts.output, "wb") |
| 515 out_cm = CRC32Output(out_cm) | |
| 516 | 515 |
| 517 fnmatcher = fnmatch.FnMatcher.build_from_commandline_patterns( | 516 fnmatcher = fnmatch.FnMatcher.build_from_commandline_patterns( |
| 518 opts.fnmatch_filters) | 517 opts.fnmatch_filters) |
| 519 | 518 |
| 520 with out_cm as outfp: | 519 with out_cm as outfp: |
