From 621e4e5ed5783339973351aed5c0b08c22936c55 Mon Sep 17 00:00:00 2001 From: Helmut Grohne Date: Thu, 16 Apr 2015 17:43:11 +0200 Subject: distinguish bytes from unicode for py3k --- dedup/hashing.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'dedup/hashing.py') 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): -- cgit v1.2.3