summaryrefslogtreecommitdiff
path: root/dedup/hashing.py
diff options
context:
space:
mode:
authorHelmut Grohne <helmut@subdivi.de>2015-04-16 17:43:11 +0200
committerHelmut Grohne <helmut@subdivi.de>2015-04-16 17:43:11 +0200
commit621e4e5ed5783339973351aed5c0b08c22936c55 (patch)
tree92cd8b8e739be85986e65c27ea71714032b45cf4 /dedup/hashing.py
parent2a728ab85e1ddfeec03514f86f706c116ca94440 (diff)
downloaddebian-dedup-621e4e5ed5783339973351aed5c0b08c22936c55.tar.gz
distinguish bytes from unicode for py3k
Diffstat (limited to 'dedup/hashing.py')
-rw-r--r--dedup/hashing.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/dedup/hashing.py b/dedup/hashing.py
index a8a46c7..0b7f889 100644
--- a/dedup/hashing.py
+++ b/dedup/hashing.py
@@ -52,7 +52,7 @@ class HashBlacklistContent(object):
# the chain avoids passing the empty sequence to max
maxlen = max(itertools.chain((0,), itertools.imap(len, blacklist)))
self.maxlen = maxlen
- self.stored = ""
+ self.stored = b""
@property
def name(self):