def dependencies_as_list(self):
        """Returns a list of dependency names."""
        dependencies = []
        for dependency in self.dependencies:
            dependencies.append(dependency.name)
        return dependencies
def dependencies_as_list ( self ) : dependencies = [ ] for dependency in self . dependencies : dependencies . append ( dependency . name ) return dependencies
Returns a list of dependency names.