summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorEd Bartosh <ed.bartosh@linux.intel.com>2017-02-09 20:45:20 +0200
committerRichard Purdie <richard.purdie@linuxfoundation.org>2017-02-15 20:06:34 -0800
commitc17353c8ec9ecb52368e08dad999aafc9ac1b734 (patch)
treeb9cc4dd5a52b1db62ba969369424e7ed1a4ffa62 /scripts
parent0cc84c81dd4a776aa37c8d1bcdcc3fa3af78d1e4 (diff)
downloadopenembedded-core-c17353c8ec9ecb52368e08dad999aafc9ac1b734.tar.gz
openembedded-core-c17353c8ec9ecb52368e08dad999aafc9ac1b734.tar.bz2
openembedded-core-c17353c8ec9ecb52368e08dad999aafc9ac1b734.zip
wic: direct: remove useless code
Removed catching CreatorError and raising it again. Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com>
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
from wic.ksparser import KickStart, KickStartError
from wic.plugin import pluginmgr
from wic.pluginbase import ImagerPlugin
-from wic.utils.errors import CreatorError, ImageError
+from wic.utils.errors import ImageError
from wic.utils.misc import get_bitbake_var, exec_cmd, exec_native_cmd
class DirectPlugin(ImagerPlugin):
@@ -83,8 +83,6 @@ class DirectPlugin(ImagerPlugin):
self.assemble()
self.finalize()
self.print_info()
- except CreatorError:
- raise
finally:
self.cleanup()