Allow ignoring of group metadata from repos.

Signed-off-by: Bill Nottingham <notting@redhat.com>
This commit is contained in:
Bill Nottingham 2009-04-03 15:53:52 -04:00 committed by Jesse Keating
parent b28d842bec
commit 9ecb4c5dc3

View File

@ -201,6 +201,8 @@ class Pungi(pypungi.PungiBase):
thisrepo.includepkgs = repo.includepkgs
if repo.cost:
thisrepo.cost = repo.cost
if repo.ignoregroups:
thisrepo.enablegroups = 0
self.ayum.repos.add(thisrepo)
self.ayum.repos.enableRepo(thisrepo.id)
self.ayum._getRepos(thisrepo=thisrepo.id, doSetup = True)