Skip to content

Commit

Permalink
fixing rosdep usage of resolve_for_apt to resolve_for_os
Browse files Browse the repository at this point in the history
  • Loading branch information
tfoote committed Aug 16, 2012
1 parent ab1acaf commit 6f35c30
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/buildfarm/rosdep_support.py
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@

import rospkg.stack
from rospkg.os_detect import OS_UBUNTU
from rosdep2.catkin_support import get_catkin_view, resolve_for_apt, get_ubuntu_targets
from rosdep2.catkin_support import get_catkin_view, resolve_for_os, get_ubuntu_targets
from rosdep2.platforms.debian import APT_INSTALLER
#NOTE: this code is very similar to code in catkin-generate-distribution and rosrelease

Expand All @@ -61,6 +61,6 @@ def resolve_rosdeps(rosdep_keys, rosdistro_name, os_name, os_platform):
# iterate through all our keys to resolve
ubuntu_deps = set()
for dep in rosdep_keys:
resolved = resolve_for_apt(dep, rosdep_view, apt_installer, os_name, os_platform)
resolved = resolve_for_os(dep, rosdep_view, apt_installer, os_name, os_platform)
ubuntu_deps.update(resolved)
return list(ubuntu_deps)

0 comments on commit 6f35c30

Please sign in to comment.