Commits

Kelsey Hightower committed 476f8da

Pylint and pep8 fixes.

Comments (0)

Files changed (1)

pyverify/verify.py

         if md5:
             if os.path.isfile(_file):
                 size = os.path.getsize(_file)
-                _md5 = hashlib.md5()
+                _md5 = hashlib.new('md5')
                 _md5.update(open(_file, 'r').read())
                 cur_md5 = _md5.hexdigest()
                 if md5 == cur_md5: