bug fix for local var name

This commit is contained in:
Ken Conley 2011-10-06 03:02:27 +00:00
parent 4a94f50bde
commit d70d240d02
1 changed files with 1 additions and 1 deletions

View File

@ -71,7 +71,7 @@ def _add_msgs_depends(rospack, spec, deps, package_context):
@type deps: [str]
@raise KeyError for invalid dependent types due to missing package dependencies.
"""
valid_packages = ['', package_context] + rospkg.get_depends(package_context, implicit=True)
valid_packages = ['', package_context] + rospack.get_depends(package_context, implicit=True)
for t in spec.types:
t = roslib.msgs.base_msg_type(t)
if not roslib.msgs.is_builtin(t):