summaryrefslogtreecommitdiff
path: root/Lib/distutils/command/upload.py
diff options
context:
space:
mode:
authorGeorg Brandl <georg@python.org>2006-04-30 08:57:35 +0000
committerGeorg Brandl <georg@python.org>2006-04-30 08:57:35 +0000
commitbffb0bc064c25032264037e3c0405d7ab0d3c149 (patch)
tree402405c1b4a25a822a4174376002b348299b54fd /Lib/distutils/command/upload.py
parentfa42bd7af429a909e3e964ffc8dcfa457e007ac8 (diff)
downloadcpython-git-bffb0bc064c25032264037e3c0405d7ab0d3c149.tar.gz
In stdlib, use hashlib instead of deprecated md5 and sha modules.
Diffstat (limited to 'Lib/distutils/command/upload.py')
-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 6f4ce81f79..4a9ed398a0 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