Displaying expansion of stacks to list of packages. #1907

This commit is contained in:
Tully Foote 2009-10-28 17:43:31 +00:00
parent e9fd327c86
commit 3ec4553f85
1 changed files with 3 additions and 1 deletions

View File

@ -615,7 +615,9 @@ class RosMakeAll:
except roslib.packages.InvalidROSPkgException, ex:
try:
roslib.stacks.get_stack_dir(p)
verified_packages.extend(roslib.stacks.packages_of(p))
packages_in_stack = roslib.stacks.packages_of(p)
verified_packages.extend(packages_in_stack)
self.print_all("Found stack %s. Expanding to packages: %s"%(p, packages_in_stack))
except roslib.stacks.InvalidROSStackException, ex2:
self.print_all("Could not resolve %s as a package or as a stack [ %s ] [ %s ]"%(p, ex, ex2))