def check_rosdeps(name):
 def check(n, filename):
  nodes = get_nodes_by_name(n, name)
  rosdeps = [e.attributes for e in nodes]
  names = [d['name'].value for d in rosdeps]
  return [ROSDep(n) for n in names]
 return check

def check_rosdeps ( name ) : def check ( n , filename ) : nodes = get_nodes_by_name ( n , name ) rosdeps = [ e . attributes for e in nodes ] names = [ d [ 'name' ] . value for d in rosdeps ] return [ ROSDep ( n ) for n in names ] return check
validator for stack rosdeps .