---
debuginfo-install.py | 6 +++++-
1 file changed, 5 insertions(+), 1 deletion(-)
diff --git a/debuginfo-install.py b/debuginfo-install.py
index 5c1f77d..be2ff2d 100755
--- a/debuginfo-install.py
+++ b/debuginfo-install.py
@@ -53,7 +53,11 @@ class DebugInfoInstall(YumUtilBase):
help="Turn off automatic installation/update of the
yum debuginfo plugin")
self.done = set()
- self.main()
+ try:
+ self.main()
+ except yum.Errors.YumBaseError, e:
+ print e
+ sys.exit(1)
def doUtilConfigSetup(self, *args, **kwargs):
""" We override this to get our extra option out. """
--
1.7.11.7
_______________________________________________
Yum-devel mailing list
[email protected]
http://lists.baseurl.org/mailman/listinfo/yum-devel