fixing bug in find_changed_confs with symlink-skipping
This commit is contained in:
parent
1fc59208b6
commit
cfc48cac26
@ -92,8 +92,9 @@ class PkgChk(object):
|
|||||||
(self.flst[f]['hash'] !=
|
(self.flst[f]['hash'] !=
|
||||||
self.pkgfilemap[p][f]['hash'])):
|
self.pkgfilemap[p][f]['hash'])):
|
||||||
if not self.symlinks:
|
if not self.symlinks:
|
||||||
if re.search('^0+$',
|
if ((not self.pkgfilemap[p][f]['hash'])
|
||||||
self.pkgfilemap[p][f]['hash']):
|
or re.search('^0+$',
|
||||||
|
self.pkgfilemap[p][f]['hash'])):
|
||||||
continue
|
continue
|
||||||
r_time = datetime.datetime.fromtimestamp(
|
r_time = datetime.datetime.fromtimestamp(
|
||||||
self.pkgfilemap[p][f]['date'])
|
self.pkgfilemap[p][f]['date'])
|
||||||
|
Loading…
Reference in New Issue
Block a user