diff options
author | Alon Zakai <alonzakai@gmail.com> | 2012-11-30 12:12:21 -0800 |
---|---|---|
committer | Alon Zakai <alonzakai@gmail.com> | 2012-11-30 12:12:21 -0800 |
commit | c6b53ac34c499d25587c2119b834d716e64613ab (patch) | |
tree | bc987e7d03d7e16b55f1b43bf9640d1e0b92cbf4 /tools/shared.py | |
parent | 26250471b46a68204711f037f33790bfb4ba37c7 (diff) | |
parent | 64b3836a68c51bfe5823bbd0a82050b4a43536ca (diff) |
Merge branch 'incoming'
Diffstat (limited to 'tools/shared.py')
-rw-r--r-- | tools/shared.py | 4 |
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 |