class DependencyList(object): (source)
List of dependencies, with file recording support.
Note that the output file is not automatically closed. You have to explicitly call the close() method.
Method | __init__ |
Initialize the dependency list, automatically setting the output file to output_file (see set_output() ) and adding all supplied dependencies. |
Method | __repr__ |
Undocumented |
Method | add |
If the dependency filename has not already been added, append it to self.list and print it to self.file if self.file is not None. |
Method | close |
Close the output file. |
Method | set_output |
Set the output file and clear the list of already added dependencies. |
Instance Variable | file |
Undocumented |
Instance Variable | list |
Undocumented |
output_file
(see set_output()
) and adding
all supplied dependencies.filename
has not already been added,
append it to self.list and print it to self.file if self.file
is not None.