Commit 6349af6d authored by Tim Lauridsen's avatar Tim Lauridsen

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

parent 311c3152
......@@ -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.
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment