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:
parent
ba53a8d162
commit
f23c20da99
@ -45,7 +45,7 @@ class PkgChk(object):
|
|||||||
for f in pkg.fiFromHeader():
|
for f in pkg.fiFromHeader():
|
||||||
if not f[0].startswith(self.path):
|
if not f[0].startswith(self.path):
|
||||||
continue
|
continue
|
||||||
if f[12] == 0 * 64:
|
if f[12] == '0' * 64:
|
||||||
_hash = None
|
_hash = None
|
||||||
else:
|
else:
|
||||||
_hash = f[12]
|
_hash = f[12]
|
||||||
|
Loading…
Reference in New Issue
Block a user