[Yum-devel] [PATCH] Check override_sigchecks in checkGPGKey().

James Antill james at and.org
Mon Dec 5 20:48:08 UTC 2011


---
 yumcommands.py |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/yumcommands.py b/yumcommands.py
index 2ff9562..36b19b3 100644
--- a/yumcommands.py
+++ b/yumcommands.py
@@ -59,6 +59,8 @@ def checkGPGKey(base):
     :param base: a :class:`yum.Yumbase` object.
     :raises: :class:`cli.CliError`
     """
+    if base._override_sigchecks:
+        return
     if not base.gpgKeyCheck():
         for repo in base.repos.listEnabled():
             if (repo.gpgcheck or repo.repo_gpgcheck) and not repo.gpgkey:
-- 
1.7.6.4



More information about the Yum-devel mailing list