(self, dependencies=None)
return dependencies
Returns an OrderedSet of all of a target's dependencies, recursively.
Returns an OrderedSet of all of a target's dependencies, recursively.
Returns an OrderedSet of all of a target s dependencies recursively .
def DeepDependencies(self, dependencies=None):
    """Returns an OrderedSet of all of a target's dependencies, recursively."""
    if dependencies is None:
      # Using a list to get ordered output and a set to do fast "is it
      # already added" checks.
      dependencies = OrderedSet()

    for dependency in self.dependencies:
      # Check for None, corresponding to the root node.
      if dependency.ref is None:
        continue
      if dependency.ref not in dependencies:
        dependency.DeepDependencies(dependencies)
        dependencies.add(dependency.ref)

    return dependencies
def DeepDependencies ( self , dependencies = None ) : if dependencies is None : # Using a list to get ordered output and a set to do fast "is it # already added" checks. dependencies = OrderedSet ( ) for dependency in self . dependencies : # Check for None, corresponding to the root node. if dependency . ref is None : continue if dependency . ref not in dependencies : dependency . DeepDependencies ( dependencies ) dependencies . add ( dependency . ref ) return dependencies