rep 100 fix

This commit is contained in:
Ken Conley 2011-01-19 02:52:31 +00:00
parent 9d2f2688de
commit 0d20afa705
1 changed files with 1 additions and 1 deletions

View File

@ -74,7 +74,7 @@ def _get_message_or_service_class(type_str, message_type, reload_on_error=False)
package, base_type = roslib.names.package_resource_name(message_type)
if not package:
if base_type == roslib.msgs.HEADER:
package = 'roslib'
package = 'std_msgs'
else:
raise ValueError("message type is missing package name: %s"%str(message_type))
pypkg = val = None