[Yum-devel] [PATCH 5/6] No early checking of packages during download.

Zdeněk Pavlas zpavlas at redhat.com
Wed Jul 13 16:50:37 UTC 2011


---
 yum/__init__.py |    9 ---------
 1 files changed, 0 insertions(+), 9 deletions(-)

diff --git a/yum/__init__.py b/yum/__init__.py
index 7f382c4..82cd6f1 100644
--- a/yum/__init__.py
+++ b/yum/__init__.py
@@ -1981,7 +1981,6 @@ class YumBase(depsolve.Depsolve):
         beg_download = time.time()
         i = 0
         local_size = 0
-        done_repos = set()
         for po in remote_pkgs:
             i += 1
             checkfunc = (self.verifyPkg, (po, 1), {})
@@ -2010,14 +2009,6 @@ class YumBase(depsolve.Depsolve):
                 if hasattr(urlgrabber.progress, 'text_meter_total_size'):
                     urlgrabber.progress.text_meter_total_size(remote_size,
                                                               local_size)
-                if po.repoid not in done_repos:
-                    #  Check a single package per. repo. ... to give a hint to
-                    # the user on big downloads.
-                    result, errmsg = self.sigCheckPkg(po)
-                    if result != 0:
-                        self.verbose_logger.warn("%s", errmsg)
-                done_repos.add(po.repoid)
-
             except Errors.RepoError, e:
                 adderror(po, str(e))
             else:
-- 
1.7.4.4



More information about the Yum-devel mailing list