Merge pull request #6627 from radarhere/crc

This commit is contained in:
Hugo van Kemenade 2022-10-13 15:12:45 +02:00 committed by GitHub
commit d138b2d41e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -189,7 +189,7 @@ class ChunkStream:
self.close()
def close(self):
self.queue = self.crc = self.fp = None
self.queue = self.fp = None
def push(self, cid, pos, length):
@ -224,7 +224,7 @@ class ChunkStream:
) from e
def crc_skip(self, cid, data):
"""Read checksum. Used if the C module is not present"""
"""Read checksum"""
self.fp.read(4)