Lines Matching defs:parent
29 def add_dependency(self, parent, dependency):
31 if parent in self.dependencies:
32 self.dependencies[parent].append(dependency)
34 self.dependencies[parent] = [dependency]
36 def get_dependencies(self, parent):
37 """ Gets all the recursive dependencies of a parent file. """
38 parent = os.path.normpath(parent)
39 if parent in self.dependencies:
40 direct_deps = self.dependencies[parent]