summaryrefslogtreecommitdiffstats
path: root/Tools
diff options
context:
space:
mode:
authorAndrew M. Kuchling <amk@amk.ca>2002-04-17 21:53:21 (GMT)
committerAndrew M. Kuchling <amk@amk.ca>2002-04-17 21:53:21 (GMT)
commita90a3b471de133df411e947d8a498e7965f6d800 (patch)
treebd95eea4d923346a0cce656aa289853bd9490606 /Tools
parent343cbd02792190e6926acdeb965163e9f22bb8cc (diff)
downloadcpython-a90a3b471de133df411e947d8a498e7965f6d800.zip
cpython-a90a3b471de133df411e947d8a498e7965f6d800.tar.gz
cpython-a90a3b471de133df411e947d8a498e7965f6d800.tar.bz2
Use md5.new() constructor
Diffstat (limited to 'Tools')
-rwxr-xr-xTools/scripts/sum5.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Tools/scripts/sum5.py b/Tools/scripts/sum5.py
index 6d3b965..3efcc74 100755
--- a/Tools/scripts/sum5.py
+++ b/Tools/scripts/sum5.py
@@ -55,7 +55,7 @@ def printsum(file, out = sys.stdout):
return sts
def printsumfp(fp, file, out = sys.stdout):
- m = md5.md5()
+ m = md5.new()
try:
while 1:
data = fp.read(bufsize)