rosbag: fixing error message for migrating unindexed bag files

This commit is contained in:
Tim Field 2010-10-05 18:45:17 +00:00
parent 4354732e95
commit b70ea45eb5
1 changed files with 1 additions and 1 deletions

View File

@ -309,7 +309,7 @@ def fix_cmd(argv):
try:
migrations = fixbag2(migrator, inbag_filename, outname)
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
if len(migrations) == 0: