[yum-commits] Branch 'yum-3_2_X' - yum/repos.py
James Antill
james at osuosl.org
Mon Apr 6 13:58:02 UTC 2009
yum/repos.py | 4 ----
1 file changed, 4 deletions(-)
New commits:
commit a51190543bbe50a471467126c252fda4cf347f88
Author: James Antill <james at and.org>
Date: Sun Apr 5 01:21:47 2009 -0400
Remove repo setup progress that does nothing
diff --git a/yum/repos.py b/yum/repos.py
index 1c67489..5d9a343 100644
--- a/yum/repos.py
+++ b/yum/repos.py
@@ -71,13 +71,9 @@ class RepoStorage:
if len(repos) < 1:
self.logger.debug('No Repositories Available to Set Up')
- num = 1
for repo in repos:
repo.setup(self.ayum.conf.cache, self.ayum.mediagrabber,
gpg_import_func = self.gpg_import_func, confirm_func=self.confirm_func)
- num += 1
- if self.callback and len(repos) > 0:
- self.callback.progressbar(num, len(repos), repo.id)
self._setup = True
self.ayum.plugins.run('postreposetup')
More information about the Yum-commits
mailing list