projects
/
tools
/
bmap-tools.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4998b61
)
BmapCopy: improve error message
author
Artem Bityutskiy
<artem.bityutskiy@intel.com>
Mon, 6 May 2013 10:16:46 +0000
(13:16 +0300)
committer
Artem Bityutskiy
<artem.bityutskiy@intel.com>
Mon, 6 May 2013 14:58:51 +0000
(17:58 +0300)
Change-Id: I350b7beb9491bde82bbdad8890f147a7f69d14ab
Signed-off-by: Artem Bityutskiy <artem.bityutskiy@intel.com>
bmaptools/BmapCopy.py
patch
|
blob
|
history
diff --git
a/bmaptools/BmapCopy.py
b/bmaptools/BmapCopy.py
index
1e9c6f0
..
a3bc840
100644
(file)
--- a/
bmaptools/BmapCopy.py
+++ b/
bmaptools/BmapCopy.py
@@
-470,7
+470,8
@@
class BmapCopy:
# 'mapped_cnt' blocks.
if blocks_written != self.mapped_cnt:
raise Error("wrote %u blocks from image '%s' to '%s', but should " \
- "have %u - inconsistent bmap file '%s'" \
+ "have %u - bmap file '%s' does not belong to this" \
+ "image" \
% (blocks_written, self._image_path, self._dest_path, \
self.mapped_cnt, self._bmap_path))