From: stevenknight Date: Sat, 7 Mar 2009 15:20:51 +0000 (+0000) Subject: Issue 2369: Don't use the deprecated md5 module, use hashlib.md5 instead. X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=8c0a536ad41704bbfca6392103669ccc9174e03d;p=scons.git Issue 2369: Don't use the deprecated md5 module, use hashlib.md5 instead. git-svn-id: http://scons.tigris.org/svn/scons/trunk@4069 fdb21ef1-2011-0410-befe-b5e4ea1792b1 --- diff --git a/src/engine/SCons/Tool/packaging/msi.py b/src/engine/SCons/Tool/packaging/msi.py index d2bef8e6..41ea0b33 100644 --- a/src/engine/SCons/Tool/packaging/msi.py +++ b/src/engine/SCons/Tool/packaging/msi.py @@ -163,7 +163,7 @@ def generate_guids(root): To handle this requirement, the uuid is generated with an md5 hashing the whole subtree of a xml node. """ - from md5 import md5 + from hashlib import md5 # specify which tags need a guid and in which attribute this should be stored. needs_id = { 'Product' : 'Id',