rosbag: fixing error message for migrating unindexed bag files
This commit is contained in:
parent
4354732e95
commit
b70ea45eb5
|
@ -309,7 +309,7 @@ def fix_cmd(argv):
|
||||||
try:
|
try:
|
||||||
migrations = fixbag2(migrator, inbag_filename, outname)
|
migrations = fixbag2(migrator, inbag_filename, outname)
|
||||||
except ROSBagUnindexedException, ex:
|
except ROSBagUnindexedException, ex:
|
||||||
print >> sys.stderr, 'ERROR bag unindexed: %s. Run rosbag reindex.' % arg
|
print >> sys.stderr, 'ERROR bag unindexed: %s. Run rosbag reindex.' % inbag_filename
|
||||||
return
|
return
|
||||||
|
|
||||||
if len(migrations) == 0:
|
if len(migrations) == 0:
|
||||||
|
|
Loading…
Reference in New Issue