[yum-commits] Branch 'yum-3_2_X' - yummain.py

James Antill james at osuosl.org
Fri Mar 25 15:58:09 UTC 2011


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

New commits:
commit deb857b109f24005489ade902ab6f483d5362138
Author: James Antill <james at and.org>
Date:   Fri Mar 25 11:57:34 2011 -0400

    Add Errors to front of YumBaseError, too many spellings of the same thing :(

diff --git a/yummain.py b/yummain.py
index d0b8251..1b94153 100755
--- a/yummain.py
+++ b/yummain.py
@@ -79,7 +79,7 @@ def main(args):
     def rpmdb_warn_checks():
         try:
             probs = base._rpmdb_warn_checks(out=verbose_logger.info, warn=False)
-        except YumBaseError, e:
+        except Errors.YumBaseError, e:
             # This is mainly for PackageSackError from rpmdb.
             verbose_logger.info(_(" Yum checks failed: %s"), exception2msg(e))
             probs = []


More information about the Yum-commits mailing list