thanks, amayer!

12:10:31 < amayer> r00t^2: Shouldn't this be "0" * 64 ? https://git.square-r00t.net/OpTools/tree/centos/find_changed_confs.py#n48
This commit is contained in:
brent s 2018-05-21 12:24:50 -04:00
parent ba53a8d162
commit f23c20da99

View File

@ -45,7 +45,7 @@ class PkgChk(object):
for f in pkg.fiFromHeader():
if not f[0].startswith(self.path):
continue
if f[12] == 0 * 64:
if f[12] == '0' * 64:
_hash = None
else:
_hash = f[12]