You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

12 lines
451 B

diff -up yum-utils-1.1.31/repoquery.py.old yum-utils-1.1.31/repoquery.py
--- yum-utils-1.1.31/repoquery.py.old 2014-01-10 11:43:02.213877563 +0100
+++ yum-utils-1.1.31/repoquery.py 2014-01-10 11:45:52.755169727 +0100
@@ -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)