summaryrefslogtreecommitdiffstats
path: root/scripts/lib/wic/plugins
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 /scripts/lib/wic/plugins
parent870171a205463e79970c0efa5928c7e84057a7bf (diff)
downloadpoky-77dc8e6ef3f51c6de0a4086cf4dedd454099ff35.tar.gz
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>
Diffstat (limited to 'scripts/lib/wic/plugins')
-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
35from wic.ksparser import KickStart, KickStartError 35from wic.ksparser import KickStart, KickStartError
36from wic.plugin import pluginmgr 36from wic.plugin import pluginmgr
37from wic.pluginbase import ImagerPlugin 37from wic.pluginbase import ImagerPlugin
38from wic.utils.errors import CreatorError, ImageError 38from wic.utils.errors import ImageError
39from wic.utils.misc import get_bitbake_var, exec_cmd, exec_native_cmd 39from wic.utils.misc import get_bitbake_var, exec_cmd, exec_native_cmd
40 40
41class DirectPlugin(ImagerPlugin): 41class DirectPlugin(ImagerPlugin):
@@ -83,8 +83,6 @@ class DirectPlugin(ImagerPlugin):
83 self.assemble() 83 self.assemble()
84 self.finalize() 84 self.finalize()
85 self.print_info() 85 self.print_info()
86 except CreatorError:
87 raise
88 finally: 86 finally:
89 self.cleanup() 87 self.cleanup()
90 88