diff options
author | Ed Bartosh <ed.bartosh@linux.intel.com> | 2017-02-09 20:45:20 +0200 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2017-02-15 20:06:45 -0800 |
commit | 77dc8e6ef3f51c6de0a4086cf4dedd454099ff35 (patch) | |
tree | b4969492eead3276ccadf71e76b96d26b953edf2 /scripts/lib | |
parent | 870171a205463e79970c0efa5928c7e84057a7bf (diff) | |
download | poky-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')
-rw-r--r-- | scripts/lib/wic/plugins/imager/direct.py | 4 |
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 | |||
35 | from wic.ksparser import KickStart, KickStartError | 35 | from wic.ksparser import KickStart, KickStartError |
36 | from wic.plugin import pluginmgr | 36 | from wic.plugin import pluginmgr |
37 | from wic.pluginbase import ImagerPlugin | 37 | from wic.pluginbase import ImagerPlugin |
38 | from wic.utils.errors import CreatorError, ImageError | 38 | from wic.utils.errors import ImageError |
39 | from wic.utils.misc import get_bitbake_var, exec_cmd, exec_native_cmd | 39 | from wic.utils.misc import get_bitbake_var, exec_cmd, exec_native_cmd |
40 | 40 | ||
41 | class DirectPlugin(ImagerPlugin): | 41 | class 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 | ||