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>
This commit is contained in:
Ed Bartosh 2017-02-09 20:16:45 +02:00 committed by Richard Purdie
parent 417e5fbe2b
commit 870171a205
1 changed files with 1 additions and 4 deletions

View File

@ -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):