summaryrefslogtreecommitdiffstats
path: root/scripts
diff options
context:
space:
mode:
Diffstat (limited to 'scripts')
-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