diff options
Diffstat (limited to 'src/engine/SCons/compat/_scons_hashlib.py')
-rw-r--r-- | src/engine/SCons/compat/_scons_hashlib.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/engine/SCons/compat/_scons_hashlib.py b/src/engine/SCons/compat/_scons_hashlib.py index 7b84cb7..66a3255 100644 --- a/src/engine/SCons/compat/_scons_hashlib.py +++ b/src/engine/SCons/compat/_scons_hashlib.py @@ -34,7 +34,7 @@ the underlying md5 module isn't available. __revision__ = "__FILE__ __REVISION__ __DATE__ __DEVELOPER__" import md5 -import string +from string import hexdigits class md5obj: @@ -72,7 +72,7 @@ class md5obj: # hexdigest() method (*cough* 1.5.2 *cough*), so provide an # equivalent lifted from elsewhere. def hexdigest(self): - h = string.hexdigits + h = hexdigits r = '' for c in self.digest(): i = ord(c) |