raise when creating bootstrap failed
authorGui Chen <gui.chen@intel.com>
Fri, 23 Nov 2012 03:17:08 +0000 (11:17 +0800)
committerGui Chen <gui.chen@intel.com>
Wed, 12 Dec 2012 11:33:24 +0000 (19:33 +0800)
Signed-off-by: Gui Chen <gui.chen@intel.com>
mic/bootstrap.py

index 12a1cef..2122dcf 100644 (file)
@@ -218,6 +218,9 @@ class Bootstrap(object):
         except (OSError, IOError, errors.CreatorError), err:
             raise errors.BootstrapError("%s" % err)
 
+        except:
+            raise
+
     def run(self, cmd, chdir, rootdir=None, bindmounts=None):
         def mychroot():
             os.chroot(rootdir)