lists: Ignore *.bz2 pkglists
They are often outdated.
This commit is contained in:
parent
90d99e3882
commit
4469729bc1
@ -90,6 +90,9 @@ def read_pkglist_heders_for_repo(repo_path, arches, components=None):
|
||||
for arch in arches:
|
||||
basedir = os.path.join(repo_path, arch, 'base')
|
||||
for pkglist in os.listdir(basedir):
|
||||
if pkglist.endswith('.bz2'):
|
||||
LOG.info('Ignoring %s/%s', basedir, pkglist)
|
||||
continue
|
||||
parts = pkglist.split('.', 3)
|
||||
if parts[0] not in ('pkglist', 'srclist'):
|
||||
continue
|
||||
|
Loading…
x
Reference in New Issue
Block a user