[yum-git] Branch 'yum-3_2_X' - yumcommands.py

Seth Vidal skvidal at linux.duke.edu
Mon Aug 25 19:53:47 UTC 2008


 yumcommands.py |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 6803eed438dd617de8c0951527983f5516a0a34b
Author: Seth Vidal <skvidal at fedoraproject.org>
Date:   Mon Aug 25 15:53:30 2008 -0400

    add parens to make the or'd case for checkGPGKey be tied together.

diff --git a/yumcommands.py b/yumcommands.py
index ba88e61..3eaf0de 100644
--- a/yumcommands.py
+++ b/yumcommands.py
@@ -42,7 +42,7 @@ def checkRootUID(base):
 def checkGPGKey(base):
     if not base.gpgKeyCheck():
         for repo in base.repos.listEnabled():
-            if repo.gpgcheck or repo.repo_gpgcheck and repo.gpgkey == '':
+            if (repo.gpgcheck or repo.repo_gpgcheck) and repo.gpgkey == '':
                 msg = _("""
 You have enabled checking of packages via GPG keys. This is a good thing. 
 However, you do not have any GPG public keys installed. You need to download



More information about the Yum-cvs-commits mailing list