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:
8599d7f
)
raw.py: remove unused variable
author
Artem Bityutskiy
<artem.bityutskiy@intel.com>
Fri, 27 Sep 2013 07:37:47 +0000
(10:37 +0300)
committer
Gerrit Code Review
<gerrit2@otctools.jf.intel.com>
Mon, 14 Oct 2013 03:11:26 +0000
(20:11 -0700)
Change-Id: Ic704651421e50958c2b4977081c1ddb1096ccdf4
Signed-off-by: Artem Bityutskiy <artem.bityutskiy@intel.com>
mic/imager/raw.py
patch
|
blob
|
history
diff --git
a/mic/imager/raw.py
b/mic/imager/raw.py
index d9ec54ab730b8f9c3a6fcfaa6697227a680d1f11..abdb98196d7b7bbb9a5f2ca416fb27a7f327e013 100644
(file)
--- a/
mic/imager/raw.py
+++ b/
mic/imager/raw.py
@@
-325,7
+325,6
@@
class RawImageCreator(BaseImageCreator):
msger.debug("Installing syslinux bootloader '%s' to %s" % \
(mbrfile, loopdev))
- mbrsize = os.stat(mbrfile)[stat.ST_SIZE]
rc = runner.show(['dd', 'if=%s' % mbrfile, 'of=' + loopdev])
if rc != 0:
raise MountError("Unable to set MBR to %s" % loopdev)