From f23c20da99a09b4e90981530aad86ef369a41f69 Mon Sep 17 00:00:00 2001 From: brent s Date: Mon, 21 May 2018 12:24:50 -0400 Subject: [PATCH] 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 --- centos/find_changed_confs.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/centos/find_changed_confs.py b/centos/find_changed_confs.py index c040f69..579b089 100755 --- a/centos/find_changed_confs.py +++ b/centos/find_changed_confs.py @@ -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]