[yum-commits] debuginfo-install.py

skvidal at osuosl.org skvidal at osuosl.org
Mon Mar 1 20:29:23 UTC 2010


 debuginfo-install.py |    5 +++++
 1 file changed, 5 insertions(+)

New commits:
commit 30e58c85e07abe939ff3c9af017f8355f81a4f32
Author: Seth Vidal <skvidal at fedoraproject.org>
Date:   Mon Mar 1 15:27:57 2010 -0500

    setup some repo features that make sense for the debug repos to
    inherit from the non-debug repos when we add them

diff --git a/debuginfo-install.py b/debuginfo-install.py
index 242be65..dc41b5f 100755
--- a/debuginfo-install.py
+++ b/debuginfo-install.py
@@ -90,6 +90,11 @@ class DebugInfoInstall(YumUtilBase):
                 r.enable()
                 try:
                     self.doRepoSetup(thisrepo=r.id)
+                    for opt in ['repo_gpgcheck', 'gpgcheck', 'cost', 
+                                'skip_if_unavailable']:
+                        if hasattr(r, opt):
+                            setattr(r, opt, getattr(repo, opt))
+                        
                 except yum.Errors.RepoError, e:
                     self.logger.critical("Could not access repo %s error was: %s" %
                                         (r.id, to_unicode(str(e))))


More information about the Yum-commits mailing list