diff options
author | Ed Bartosh <ed.bartosh@linux.intel.com> | 2017-02-08 20:51:32 +0200 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2017-02-15 20:06:44 -0800 |
commit | 74aee7a1a7b584e062d7294c9a0263c5dbbe425d (patch) | |
tree | 960851979db35768a3bd84bd97f55aeea0298e26 /scripts/lib | |
parent | 348c9c50c1d0fe88705e2f9e40ca22a3dd7db1fe (diff) | |
download | poky-74aee7a1a7b584e062d7294c9a0263c5dbbe425d.tar.gz |
wic: direct: remove unused import
Removed unused import of wic.errors module.
(From OE-Core rev: 318ba1edfcf0cacf6adae7e1af625dcb43ec3881)
Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@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 | 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() |