[yum-commits] Branch 'yum-3_2_X' - 2 commits - yumcommands.py yum/misc.py

James Antill james at osuosl.org
Wed May 25 19:09:41 UTC 2011


 yum/misc.py    |    2 +-
 yumcommands.py |    1 +
 2 files changed, 2 insertions(+), 1 deletion(-)

New commits:
commit 77a48466ae78e43440ebeb4b479a8c6c08666be9
Author: James Antill <james at and.org>
Date:   Wed May 25 15:07:34 2011 -0400

    Also ignore ENOTDIR in stat_f. BZ 707422

diff --git a/yum/misc.py b/yum/misc.py
index 8e81c34..b7e8534 100644
--- a/yum/misc.py
+++ b/yum/misc.py
@@ -945,7 +945,7 @@ def stat_f(filename):
     try:
         return os.stat(filename)
     except OSError, e:
-        if e.errno != errno.ENOENT:
+        if e.errno not in (errno.ENOENT, errno.ENOTDIR):
             raise
         return None
 
commit 611f8e9120ab49dca501afa7ddf9b18d9399bcc5
Author: James Antill <james at and.org>
Date:   Wed May 25 12:46:47 2011 -0400

    Show which repo. doesn't have a gpgkey.

diff --git a/yumcommands.py b/yumcommands.py
index a950011..baf5e93 100644
--- a/yumcommands.py
+++ b/yumcommands.py
@@ -71,6 +71,7 @@ will install it for you.
 For more information contact your distribution or package provider.
 """)
                 base.logger.critical(msg)
+                base.logger.critical(_("Problem repository: %s"), repo)
                 raise cli.CliError
 
 def checkPackageArg(base, basecmd, extcmds):


More information about the Yum-commits mailing list