[Yum-devel] [PATCH] Handle OS errors during setup. BZ 884726

Zdeněk Pavlas zpavlas at redhat.com
Fri Dec 7 09:58:42 UTC 2012


---
 yummain.py |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/yummain.py b/yummain.py
index 648cf86..a11f26e 100755
--- a/yummain.py
+++ b/yummain.py
@@ -117,6 +117,8 @@ def main(args):
         return exPluginExit(e)
     except Errors.YumBaseError, e:
         return exFatal(e)
+    except (OSError, IOError), e:
+        return exIOError(e)
 
     lockerr = ""
     while True:
-- 
1.7.4.4



More information about the Yum-devel mailing list