summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorEd Bartosh <ed.bartosh@linux.intel.com>2017-02-09 20:16:45 +0200
committerRichard Purdie <richard.purdie@linuxfoundation.org>2017-02-15 20:06:34 -0800
commit0cc84c81dd4a776aa37c8d1bcdcc3fa3af78d1e4 (patch)
tree357da38cf50c9fff244b0f4578ce74459847ee90 /scripts
parentc2a6ca4883ea59e6492ad3b4aa0e9bc358b87fed (diff)
downloadopenembedded-core-0cc84c81dd4a776aa37c8d1bcdcc3fa3af78d1e4.tar.gz
openembedded-core-0cc84c81dd4a776aa37c8d1bcdcc3fa3af78d1e4.tar.bz2
openembedded-core-0cc84c81dd4a776aa37c8d1bcdcc3fa3af78d1e4.zip
wic: direct: don't catch ImagerError
Don't transform ImagerError exception into warning. Let wic to catch it on the upper level. Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com>
Diffstat (limited to 'scripts')
-rw-r--r--scripts/lib/wic/plugins/imager/direct.py5
1 files changed, 1 insertions, 4 deletions
diff --git a/scripts/lib/wic/plugins/imager/direct.py b/scripts/lib/wic/plugins/imager/direct.py
index a2bc4c4144..9bcccb3f48 100644
--- a/scripts/lib/wic/plugins/imager/direct.py
+++ b/scripts/lib/wic/plugins/imager/direct.py
@@ -290,10 +290,7 @@ class DirectPlugin(ImagerPlugin):
def cleanup(self):
if self._image:
- try:
- self._image.cleanup()
- except ImageError as err:
- msger.warning("%s" % err)
+ self._image.cleanup()
# Move results to the output dir
if not os.path.exists(self.outdir):