mirror of
https://git.yoctoproject.org/poky
synced 2026-03-19 13:49:41 +01:00
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:
committed by
Richard Purdie
parent
417e5fbe2b
commit
870171a205
@@ -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):
|
||||
|
||||
Reference in New Issue
Block a user