Skip to content

Commit c2e2ac6

Browse files
author
Julian Kates-Harbeck
committed
changed hash computation (removing enconding and decoding since there was a bug where it couldn't decode the dumps due to truncated unicode escape character \xXX
1 parent 4dc0edb commit c2e2ac6

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

plasma/utils/downloading.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -56,6 +56,8 @@ def general_object_hash(o):
5656

5757
def myhash(x):
5858
return int(hashlib.md5((dill.dumps(x).decode('unicode_escape')).encode('utf-8')).hexdigest(),16)
59+
#return int(hashlib.md5((dill.dumps(x))).hexdigest(),16)
60+
#return int(hashlib.md5((dill.dumps(x))))#.decode('unicode_escape')).encode('utf-8')).hexdigest(),16)
5961

6062

6163
def get_missing_value_array():

0 commit comments

Comments
 (0)