mirror of
				https://github.com/python-pillow/Pillow.git
				synced 2025-11-04 01:47:47 +03:00 
			
		
		
		
	Merge pull request #6627 from radarhere/crc
This commit is contained in:
		
						commit
						d138b2d41e
					
				| 
						 | 
				
			
			@ -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)
 | 
			
		||||
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
		Reference in New Issue
	
	Block a user