It wasn't copying the stored member and thus could be blacklist "wrong"
content after a copy.
return self.hashobj.hexdigest()
def copy(self):
- return HashBlacklistContent(self.hashobj.copy(), self.blacklist,
- self.maxlen)
+ new = HashBlacklistContent(self.hashobj.copy(), self.blacklist,
+ self.maxlen)
+ new.stored = self.stored
+ return new
class DecompressedHash(object):
"""Apply a decompression function before the hash. This class provides the