summaryrefslogtreecommitdiffstats
path: root/scripts/lib
diff options
context:
space:
mode:
authorEd Bartosh <ed.bartosh@linux.intel.com>2017-02-08 20:51:32 +0200
committerRichard Purdie <richard.purdie@linuxfoundation.org>2017-02-15 20:06:44 -0800
commit74aee7a1a7b584e062d7294c9a0263c5dbbe425d (patch)
tree960851979db35768a3bd84bd97f55aeea0298e26 /scripts/lib
parent348c9c50c1d0fe88705e2f9e40ca22a3dd7db1fe (diff)
downloadpoky-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.py3
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
34from wic.ksparser import KickStart, KickStartError 34from wic.ksparser import KickStart, KickStartError
35from wic.plugin import pluginmgr 35from wic.plugin import pluginmgr
36from wic.pluginbase import ImagerPlugin 36from wic.pluginbase import ImagerPlugin
37from wic.utils import errors
38from wic.utils.errors import CreatorError, ImageError 37from wic.utils.errors import CreatorError, ImageError
39from wic.utils.misc import get_bitbake_var, exec_cmd, exec_native_cmd 38from wic.utils.misc import get_bitbake_var, exec_cmd, exec_native_cmd
40from wic.utils.partitionedfs import Image 39from 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()