(self, dependencies=None)
return dependencies
Returns a list of just direct dependencies.
Returns a list of just direct dependencies.
Returns a list of just direct dependencies .
def DirectDependencies(self, dependencies=None):
    """Returns a list of just direct dependencies."""
    if dependencies == None:
      dependencies = []

    for dependency in self.dependencies:
      # Check for None, corresponding to the root node.
      if dependency.ref != None and dependency.ref not in dependencies:
        dependencies.append(dependency.ref)

    return dependencies
def DirectDependencies ( self , dependencies = None ) : if dependencies == None : dependencies = [ ] for dependency in self . dependencies : # Check for None, corresponding to the root node. if dependency . ref != None and dependency . ref not in dependencies : dependencies . append ( dependency . ref ) return dependencies