Use md5.new() constructor

This commit is contained in:
Andrew M. Kuchling 2002-04-17 21:53:21 +00:00
parent 343cbd0279
commit a90a3b471d
2 changed files with 2 additions and 2 deletions

View file

@ -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)