diff --git a/centos/find_changed_confs.py b/centos/find_changed_confs.py index 579b089..d90de36 100755 --- a/centos/find_changed_confs.py +++ b/centos/find_changed_confs.py @@ -92,8 +92,9 @@ class PkgChk(object): (self.flst[f]['hash'] != self.pkgfilemap[p][f]['hash'])): if not self.symlinks: - if re.search('^0+$', - self.pkgfilemap[p][f]['hash']): + if ((not self.pkgfilemap[p][f]['hash']) + or re.search('^0+$', + self.pkgfilemap[p][f]['hash'])): continue r_time = datetime.datetime.fromtimestamp( self.pkgfilemap[p][f]['date'])