[yum-git] yumdownloader.py

Tim Lauridsen timlau at linux.duke.edu
Sat Aug 16 08:44:51 UTC 2008


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

New commits:
commit 6349af6d43d8192ce5cca85fc6b1cf4d4d911b7d
Author: Tim Lauridsen <timlau at fedoraproject.org>
Date:   Sat Aug 16 10:42:36 2008 +0200

    print a more sane error message on RepoError (rh #458501)

diff --git a/yumdownloader.py b/yumdownloader.py
index ddb4533..c63da0a 100755
--- a/yumdownloader.py
+++ b/yumdownloader.py
@@ -50,7 +50,7 @@ class YumDownloader(YumUtilBase):
         try:
             opts = self.doUtilConfigSetup()
         except yum.Errors.RepoError, e:
-            self.logger.error("Cannot handle specific enablerepo/disablerepo options.")
+            self.logger.error(str(e))
             sys.exit(50)
                 
         # Check if there is anything to do.



More information about the Yum-cvs-commits mailing list