Commits

Henri Sivonen  committed c3ed948

Fix md5 call, too

  • Participants
  • Parent commits c98e6bb

Comments (0)

Files changed (1)

   data = f.read()
   f.close()
   if md5sum:
-    m = md5.new(data)
+    m = md5(data)
     if md5sum != m.hexdigest():
       print "Bad MD5 hash for %s." % url
       sys.exit(1)