diff options
-rw-r--r-- | dedup/hashing.py | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/dedup/hashing.py b/dedup/hashing.py index 2a83929..c91fb64 100644 --- a/dedup/hashing.py +++ b/dedup/hashing.py @@ -80,8 +80,10 @@ class HashBlacklistContent(object): 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 |