commit | bffb0bc064c25032264037e3c0405d7ab0d3c149 | [log] [tgz] |
---|---|---|
author | Georg Brandl <georg@python.org> | Sun Apr 30 08:57:35 2006 +0000 |
committer | Georg Brandl <georg@python.org> | Sun Apr 30 08:57:35 2006 +0000 |
tree | 402405c1b4a25a822a4174376002b348299b54fd | |
parent | fa42bd7af429a909e3e964ffc8dcfa457e007ac8 [diff] [blame] |
In stdlib, use hashlib instead of deprecated md5 and sha modules.
diff --git a/Lib/distutils/command/upload.py b/Lib/distutils/command/upload.py index 6f4ce81..4a9ed39 100644 --- a/Lib/distutils/command/upload.py +++ b/Lib/distutils/command/upload.py
@@ -6,7 +6,7 @@ from distutils.core import Command from distutils.spawn import spawn from distutils import log -from md5 import md5 +from hashlib import md5 import os import socket import platform