diff options
author | Steven Knight <knight@baldmt.com> | 2009-03-07 15:20:51 (GMT) |
---|---|---|
committer | Steven Knight <knight@baldmt.com> | 2009-03-07 15:20:51 (GMT) |
commit | 4993b28ca2ef767ede531e21450f390683da6b66 (patch) | |
tree | ae37200e1bfd96238ff22340967d58a8bb285a5e /src/engine/SCons/Tool/packaging | |
parent | 47a5f6f17fa7f72065bd42dec4d645e5c1325aef (diff) | |
download | SCons-4993b28ca2ef767ede531e21450f390683da6b66.zip SCons-4993b28ca2ef767ede531e21450f390683da6b66.tar.gz SCons-4993b28ca2ef767ede531e21450f390683da6b66.tar.bz2 |
Issue 2369: Don't use the deprecated md5 module, use hashlib.md5 instead.
Diffstat (limited to 'src/engine/SCons/Tool/packaging')
-rw-r--r-- | src/engine/SCons/Tool/packaging/msi.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/engine/SCons/Tool/packaging/msi.py b/src/engine/SCons/Tool/packaging/msi.py index d2bef8e..41ea0b3 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', |