1. Jannis Leidel
  2. pep381client

Commits

Martin von Löwis  committed 142bbd4

Typo.

  • Participants
  • Parent commits 52beda4
  • Branches default

Comments (0)

Files changed (1)

File scripts/pep381checkfiles

View file
  • Ignore whitespace
         if not os.path.exists(fn):
             print "Missing file", fn
             continue
-        if "md5="+hashlib.md5(open(fn,'rb').read()) != md5:
+        if "md5="+hashlib.md5(open(fn,'rb').read()) != md5.hexdigest():
             print "Bad md5", fn
             continue