rosbag: fix --key behaviour with Boolean values

This commit is contained in:
Tim Field 2010-05-11 23:19:30 +00:00
parent bda22f8003
commit 4156aadb9a
1 changed files with 1 additions and 1 deletions

View File

@ -117,7 +117,7 @@ def info_cmd(argv):
b = Bag(arg)
if options.yaml:
info = b._get_yaml_info(key=options.key)
if info:
if info is not None:
print info
else:
print b