From 8c0a536ad41704bbfca6392103669ccc9174e03d Mon Sep 17 00:00:00 2001 From: stevenknight Date: Sat, 7 Mar 2009 15:20:51 +0000 Subject: [PATCH] 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 --- src/engine/SCons/Tool/packaging/msi.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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', -- 2.26.2