projects
/
tools
/
mic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ef0c893
)
Remove the temporary dir 'srcmnt'
author
Shuangquan Zhou
<shuangquan.zhou@intel.com>
Tue, 20 Sep 2011 02:41:59 +0000
(10:41 +0800)
committer
Shuangquan Zhou
<shuangquan.zhou@intel.com>
Tue, 20 Sep 2011 02:41:59 +0000
(10:41 +0800)
plugins/imager/raw_plugin.py
patch
|
blob
|
history
diff --git
a/plugins/imager/raw_plugin.py
b/plugins/imager/raw_plugin.py
index
b76b318
..
a1f1988
100644
(file)
--- a/
plugins/imager/raw_plugin.py
+++ b/
plugins/imager/raw_plugin.py
@@
-197,7
+197,7
@@
class RawPlugin(ImagerPlugin):
msger.info("`dd` image ...")
rc = runner.show(args)
srcloop.cleanup()
- shutil.rmtree(
srcmnt
, ignore_errors = True)
+ shutil.rmtree(
os.path.dirname(srcmnt)
, ignore_errors = True)
if rc != 0:
raise errors.CreatorError("Failed to dd")