summaryrefslogtreecommitdiff
path: root/scripts/lib/wic
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:33 -0800
commit318ba1edfcf0cacf6adae7e1af625dcb43ec3881 (patch)
treef394855cfbc8543c3adc5446fbacc3bf13937346 /scripts/lib/wic
parent178df49cf1674bfcf1cb7295d0494c3b23929d22 (diff)
downloadopenembedded-core-318ba1edfcf0cacf6adae7e1af625dcb43ec3881.tar.gz
openembedded-core-318ba1edfcf0cacf6adae7e1af625dcb43ec3881.tar.bz2
openembedded-core-318ba1edfcf0cacf6adae7e1af625dcb43ec3881.zip
wic: direct: remove unused import
Removed unused import of wic.errors module. Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com> Signed-off-by: Ross Burton <ross.burton@intel.com>
Diffstat (limited to 'scripts/lib/wic')
-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
from wic.ksparser import KickStart, KickStartError
from wic.plugin import pluginmgr
from wic.pluginbase import ImagerPlugin
-from wic.utils import errors
from wic.utils.errors import CreatorError, ImageError
from wic.utils.misc import get_bitbake_var, exec_cmd, exec_native_cmd
from wic.utils.partitionedfs import Image
@@ -102,7 +101,7 @@ class DirectPlugin(ImagerPlugin):
self.assemble()
self.finalize()
self.print_info()
- except errors.CreatorError:
+ except CreatorError:
raise
finally:
self.cleanup()