[OE-core] [PATCH 06/13] wic: direct: don't catch ImagerError
Ed Bartosh
ed.bartosh at linux.intel.com
Fri Feb 10 15:05:42 UTC 2017
Don't transform ImagerError exception into warning.
Let wic to catch it on the upper level.
Signed-off-by: Ed Bartosh <ed.bartosh at linux.intel.com>
---
scripts/lib/wic/plugins/imager/direct.py | 5 +----
1 file changed, 1 insertion(+), 4 deletions(-)
diff --git a/scripts/lib/wic/plugins/imager/direct.py b/scripts/lib/wic/plugins/imager/direct.py
index a2bc4c4..9bcccb3 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):
--
2.1.4
More information about the Openembedded-core
mailing list