raise error instead of msger.error
authorGui Chen <gui.chen@intel.com>
Tue, 22 Oct 2013 03:43:42 +0000 (23:43 -0400)
committerGerrit Code Review <gerrit2@otctools.jf.intel.com>
Wed, 23 Oct 2013 03:18:03 +0000 (20:18 -0700)
commit44f024e4ca816b7491ad8bc9c1ba6916b6c00923
tree751fc7ee999a5ad4b49b0d6f5f2685ba517aa807
parent9373398dd00f0dfd31a97013d465f57f9fae5f07
raise error instead of msger.error

mic uses too many msger.error to exit the program directly,
it's not safe, except main loop, other logic should raise
error as possible

Change-Id: I4fa0c05998b78c3bb9b12148e7dfd6c04bad8251
Signed-off-by: Gui Chen <gui.chen@intel.com>
mic/conf.py
mic/creator.py
mic/imager/loop.py
mic/utils/fs_related.py
mic/utils/runner.py
plugins/imager/loop_plugin.py