projects
/
platform
/
upstream
/
mic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
cdda197
)
avoid traceback when loopback is NoneType
author
Gui Chen
<gui.chen@intel.com>
Wed, 12 Sep 2012 02:54:09 +0000
(10:54 +0800)
committer
Gui Chen
<gui.chen@intel.com>
Wed, 12 Sep 2012 08:55:04 +0000
(16:55 +0800)
Signed-off-by: Gui Chen <gui.chen@intel.com>
mic/imager/loop.py
patch
|
blob
|
history
diff --git
a/mic/imager/loop.py
b/mic/imager/loop.py
index
91b3e9b
..
27dd677
100644
(file)
--- a/
mic/imager/loop.py
+++ b/
mic/imager/loop.py
@@
-351,7
+351,10
@@
class LoopImageCreator(BaseImageCreator):
def _unmount_instroot(self):
for item in reversed(self._instloops):
- item['loop'].cleanup()
+ try:
+ item['loop'].cleanup()
+ except:
+ pass
def _stage_final_image(self):