summaryrefslogtreecommitdiffstats
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:45 -0800
commit870171a205463e79970c0efa5928c7e84057a7bf (patch)
treee33f75fcdb2853196f8ba29b1fb758adb5b60e5d /scripts
parent417e5fbe2bde800d5ea9647f48034979dc4cd2c3 (diff)
downloadpoky-870171a205463e79970c0efa5928c7e84057a7bf.tar.gz
wic: direct: don't catch ImagerError
Don't transform ImagerError exception into warning. Let wic to catch it on the upper level. (From OE-Core rev: 0cc84c81dd4a776aa37c8d1bcdcc3fa3af78d1e4) Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
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):
290 290
291 def cleanup(self): 291 def cleanup(self):
292 if self._image: 292 if self._image:
293 try: 293 self._image.cleanup()
294 self._image.cleanup()
295 except ImageError as err:
296 msger.warning("%s" % err)
297 294
298 # Move results to the output dir 295 # Move results to the output dir
299 if not os.path.exists(self.outdir): 296 if not os.path.exists(self.outdir):