roscreate-stack: simple warning message if dependency is not in a stack
This commit is contained in:
parent
88e16da38a
commit
a14867e093
|
@ -94,7 +94,10 @@ def compute_stack_depends_and_licenses(stack, packages):
|
|||
stack_depends = {}
|
||||
for pkg in pkg_depends:
|
||||
st = roslib.stacks.stack_of(pkg)
|
||||
if not st or st == stack:
|
||||
if not st:
|
||||
print >> sys.stderr, "WARNING: stack depends on [%s], which is not in a stack"%pkg
|
||||
continue
|
||||
if st == stack:
|
||||
continue
|
||||
if not st in stack_depends:
|
||||
stack_depends[st] = []
|
||||
|
|
Loading…
Reference in New Issue