From 1b58d024a3357dda3d981c7210aca98f3a936dfa Mon Sep 17 00:00:00 2001 From: Jesse Keating Date: Wed, 4 Jun 2008 16:28:35 -0400 Subject: [PATCH] Repo cost is now actually referenced as 'cost'. --- src/pypungi/gather.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/pypungi/gather.py b/src/pypungi/gather.py index 49247f2e..1c69f947 100644 --- a/src/pypungi/gather.py +++ b/src/pypungi/gather.py @@ -128,8 +128,8 @@ class Gather(pypungi.PungiBase): thisrepo.failovermethod = 'priority' # This is until yum uses this failover by default thisrepo.exclude = repo.excludepkgs thisrepo.includepkgs = repo.includepkgs - if repo.priority: - thisrepo.cost = repo.priority + if repo.cost: + thisrepo.cost = repo.cost self.ayum.repos.add(thisrepo) self.ayum.repos.enableRepo(thisrepo.id) self.ayum._getRepos(thisrepo=thisrepo.id, doSetup = True)