Browse Source

fixed hashing

tags/3.7.1
idziubenko 1 month ago
parent
commit
e6b5f2e11b
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      pym/update/emerge_parser.py

+ 1
- 1
pym/update/emerge_parser.py View File

@@ -756,7 +756,7 @@ class MtimeCheckvalue():

class Md5Checkvalue(MtimeCheckvalue):
def value_func(self, fn):
return hashlib.md5(readFile(fn)).hexdigest()
return hashlib.md5(readFile(fn, binary=True)).hexdigest()


class GitCheckvalue():


Loading…
Cancel
Save