diff options
Diffstat (limited to 'scripts/lib/wic')
-rw-r--r-- | scripts/lib/wic/plugins/imager/direct.py | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/scripts/lib/wic/plugins/imager/direct.py b/scripts/lib/wic/plugins/imager/direct.py index 7d6c59ae58..c399d476da 100644 --- a/scripts/lib/wic/plugins/imager/direct.py +++ b/scripts/lib/wic/plugins/imager/direct.py | |||
@@ -34,7 +34,6 @@ from wic import msger | |||
34 | from wic.ksparser import KickStart, KickStartError | 34 | from wic.ksparser import KickStart, KickStartError |
35 | from wic.plugin import pluginmgr | 35 | from wic.plugin import pluginmgr |
36 | from wic.pluginbase import ImagerPlugin | 36 | from wic.pluginbase import ImagerPlugin |
37 | from wic.utils import errors | ||
38 | from wic.utils.errors import CreatorError, ImageError | 37 | from wic.utils.errors import CreatorError, ImageError |
39 | from wic.utils.misc import get_bitbake_var, exec_cmd, exec_native_cmd | 38 | from wic.utils.misc import get_bitbake_var, exec_cmd, exec_native_cmd |
40 | from wic.utils.partitionedfs import Image | 39 | from wic.utils.partitionedfs import Image |
@@ -102,7 +101,7 @@ class DirectPlugin(ImagerPlugin): | |||
102 | self.assemble() | 101 | self.assemble() |
103 | self.finalize() | 102 | self.finalize() |
104 | self.print_info() | 103 | self.print_info() |
105 | except errors.CreatorError: | 104 | except CreatorError: |
106 | raise | 105 | raise |
107 | finally: | 106 | finally: |
108 | self.cleanup() | 107 | self.cleanup() |