[yum-commits] repoquery.py

zpavlas at osuosl.org zpavlas at osuosl.org
Mon Oct 7 13:12:03 UTC 2013


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

New commits:
commit a1353291df7b40f3b3ef804a67accd5dcc0849bc
Author: Zdenek Pavlas <zpavlas at redhat.com>
Date:   Mon Oct 7 15:11:44 2013 +0200

    repoquery: handle Yum exceptions on .conf setup. BZ 996027, 982043

diff --git a/repoquery.py b/repoquery.py
index 3483ad2..2410d08 100755
--- a/repoquery.py
+++ b/repoquery.py
@@ -1412,7 +1412,7 @@ def main(args):
     repoq.preconf.root = opts.installroot
     try:
         repoq.conf
-    except YumBaseError, e:
+    except yum.Errors.YumBaseError, e:
         repoq.logger.error(e)
         sys.exit(1)
 


More information about the Yum-commits mailing list