summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEd Bartosh <ed.bartosh@linux.intel.com>2017-02-09 20:45:20 +0200
committerRichard Purdie <richard.purdie@linuxfoundation.org>2017-02-15 20:06:45 -0800
commit77dc8e6ef3f51c6de0a4086cf4dedd454099ff35 (patch)
treeb4969492eead3276ccadf71e76b96d26b953edf2
parent870171a205463e79970c0efa5928c7e84057a7bf (diff)
downloadopenembedded-core-contrib-77dc8e6ef3f51c6de0a4086cf4dedd454099ff35.tar.gz
openembedded-core-contrib-77dc8e6ef3f51c6de0a4086cf4dedd454099ff35.tar.bz2
openembedded-core-contrib-77dc8e6ef3f51c6de0a4086cf4dedd454099ff35.zip
wic: direct: remove useless code
Removed catching CreatorError and raising it again. (From OE-Core rev: c17353c8ec9ecb52368e08dad999aafc9ac1b734) Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r--scripts/lib/wic/plugins/imager/direct.py4
1 files changed, 1 insertions, 3 deletions
diff --git a/scripts/lib/wic/plugins/imager/direct.py b/scripts/lib/wic/plugins/imager/direct.py
index 9bcccb3f48..d0a1cad43b 100644
--- a/scripts/lib/wic/plugins/imager/direct.py
+++ b/scripts/lib/wic/plugins/imager/direct.py
@@ -35,7 +35,7 @@ from wic.filemap import sparse_copy
from wic.ksparser import KickStart, KickStartError
from wic.plugin import pluginmgr
from wic.pluginbase import ImagerPlugin
-from wic.utils.errors import CreatorError, ImageError
+from wic.utils.errors import ImageError
from wic.utils.misc import get_bitbake_var, exec_cmd, exec_native_cmd
class DirectPlugin(ImagerPlugin):
@@ -83,8 +83,6 @@ class DirectPlugin(ImagerPlugin):
self.assemble()
self.finalize()
self.print_info()
- except CreatorError:
- raise
finally:
self.cleanup()