2 from xml.dom.minidom
import parse
3 from xml.parsers.expat
import ExpatError
12 self.
test = len(self.tree.getElementsByTagName(
'test')) > 0
18 for node
in self.tree.getElementsByTagName(
'node'):
19 s.add(str(node.getAttribute(
'pkg')))
24 for node
in self.tree.getElementsByTagName(
'include'):
25 el = node.getAttribute(
'file')
34 xml_str = self.tree.toxml()
35 for x
in re.finditer(
r'\$\(find ([^\)]*)\)', xml_str):
38 for x
in re.finditer(
r'rosrun\s+(\w+)\s', xml_str):
def get_include_pkgs(self)
def __init__(self, rel_fn, file_path)
def get_dependencies(self)