[Fedora-livecd-list] tools/livecd-creator

Brian C. Lane bcl at fedoraproject.org
Thu Oct 9 20:57:20 UTC 2014


 tools/livecd-creator |    3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

New commits:
commit 7c279fc42655201fcb9c3591956491f98d162d83
Author: Brian C. Lane <bcl at redhat.com>
Date:   Thu Oct 9 13:54:43 2014 -0700

    Catch Yum errors and print them (#1119906)

diff --git a/tools/livecd-creator b/tools/livecd-creator
index 34533c1..ac81cbb 100755
--- a/tools/livecd-creator
+++ b/tools/livecd-creator
@@ -23,6 +23,7 @@ import sys
 import time
 import optparse
 import logging
+from yum.Errors import YumBaseError
 
 import imgcreate
 
@@ -216,7 +217,7 @@ def main():
             creator.launch_shell()
         creator.unmount()
         creator.package()
-    except imgcreate.CreatorError, e:
+    except (imgcreate.CreatorError, YumBaseError) as e:
         logging.error(u"Error creating Live CD : %s" % e)
         return 1
     finally:




More information about the livecd mailing list