Mercurial > hgrepos > Python > apps > py-cutils
comparison cutils/treesum.py @ 332:5b98810fe367
treesum: attribute comment for "LS"
| author | Franz Glasner <fzglas.hg@dom66.de> |
|---|---|
| date | Fri, 28 Mar 2025 15:23:09 +0100 |
| parents | 9ee84624587f |
| children | 2a244a05bbb5 |
comparison
equal
deleted
inserted
replaced
| 331:9ee84624587f | 332:5b98810fe367 |
|---|---|
| 1284 Also holds the current CRC for a block. | 1284 Also holds the current CRC for a block. |
| 1285 | 1285 |
| 1286 """ | 1286 """ |
| 1287 | 1287 |
| 1288 LS = util.b(os.linesep) | 1288 LS = util.b(os.linesep) |
| 1289 """Because we write the output as binary files we need the official line | |
| 1290 separator for you OS as bytes""" | |
| 1289 | 1291 |
| 1290 def __init__(self, outfp, use_base64=False): | 1292 def __init__(self, outfp, use_base64=False): |
| 1291 self._outfp = outfp | 1293 self._outfp = outfp |
| 1292 self.use_base64 = use_base64 | 1294 self.use_base64 = use_base64 |
| 1293 self.reset_crc() | 1295 self.reset_crc() |
