aboutsummaryrefslogtreecommitdiff
path: root/tools/shared.py
diff options
context:
space:
mode:
Diffstat (limited to 'tools/shared.py')
-rw-r--r--tools/shared.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/shared.py b/tools/shared.py
index 7bafd51d..e292dbf3 100644
--- a/tools/shared.py
+++ b/tools/shared.py
@@ -1,4 +1,4 @@
-import shutil, time, os, sys, json, tempfile, copy, shlex, atexit, subprocess, md5, cPickle
+import shutil, time, os, sys, json, tempfile, copy, shlex, atexit, subprocess, hashlib, cPickle
from subprocess import Popen, PIPE, STDOUT
from tempfile import mkstemp
@@ -1170,7 +1170,7 @@ class JCache:
ret = ''
for key in keys:
assert type(key) == str
- ret += md5.md5(key).hexdigest()
+ ret += hashlib.md5(key).hexdigest()
return ret
@staticmethod