summaryrefslogtreecommitdiffstats
path: root/Lib/distutils
diff options
context:
space:
mode:
authorGeorg Brandl <georg@python.org>2006-04-30 08:57:35 (GMT)
committerGeorg Brandl <georg@python.org>2006-04-30 08:57:35 (GMT)
commitbffb0bc064c25032264037e3c0405d7ab0d3c149 (patch)
tree402405c1b4a25a822a4174376002b348299b54fd /Lib/distutils
parentfa42bd7af429a909e3e964ffc8dcfa457e007ac8 (diff)
downloadcpython-bffb0bc064c25032264037e3c0405d7ab0d3c149.zip
cpython-bffb0bc064c25032264037e3c0405d7ab0d3c149.tar.gz
cpython-bffb0bc064c25032264037e3c0405d7ab0d3c149.tar.bz2
In stdlib, use hashlib instead of deprecated md5 and sha modules.
Diffstat (limited to 'Lib/distutils')
-rw-r--r--Lib/distutils/command/upload.py2
1 files changed, 1 insertions, 1 deletions
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.errors import *
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