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:
ca601f8
)
bmaptool: handle TransRead errors
author
Artem Bityutskiy
<artem.bityutskiy@intel.com>
Tue, 28 Jan 2014 12:10:14 +0000
(14:10 +0200)
committer
Artem Bityutskiy
<artem.bityutskiy@intel.com>
Tue, 28 Jan 2014 12:23:22 +0000
(14:23 +0200)
Catch both BmapCopy and TransRead module errors since they all contain
a user-friendly error message.
Change-Id: If8acb95abba1f3edd178674da152d09b63ed6819
Signed-off-by: Artem Bityutskiy <artem.bityutskiy@intel.com>
bmaptool
patch
|
blob
|
history
diff --git
a/bmaptool
b/bmaptool
index 56d42c46a2b2c8cdc657f0e730bf149d8d3dba00..9ffffa548db8f4563294d655f0ca482016208756 100755
(executable)
--- a/
bmaptool
+++ b/
bmaptool
@@
-486,7
+486,7
@@
def copy_command(args, log):
try:
try:
writer.copy(False, not args.no_verify)
- except
BmapCopy.Error
as err:
+ except
(BmapCopy.Error, TransRead.Error)
as err:
log.error(str(err))
raise SystemExit(1)