• Kirill Smelkov's avatar
    utils: Initialize hashers with bytes · 1418c86f
    Kirill Smelkov authored
    	self = <zodbtools.util.CRC32Hasher object at 0x7f887ae465f8>
    
    	    def __init__(self):
    	>       self._h = crc32('')
    	E       TypeError: a bytes-like object is required, not 'str'
    
    	util.py:208: TypeError
    
    Based on patch by Jérome Perrin.
    1418c86f
util.py 6.12 KB