6,566
edits
(→Refactoring: Script update to match the find_subsystems.py script.) |
(→Script: Newest version of the script.) |
||
Line 36: | Line 36: | ||
"""Class for finding all subsystems and subsystem groups.""" | """Class for finding all subsystems and subsystem groups.""" | ||
def __init__(self): | def __init__(self, output=True): | ||
"""Find all subsystems and subsystem groups.""" | """Find all subsystems and subsystem groups. | ||
@keyword output: A flag which if False will suppress all output to STDOUT. | |||
@type output: bool | |||
""" | |||
# Command line options. | # Command line options. | ||
Line 92: | Line 96: | ||
# Final summary. | # Final summary. | ||
self.summarise() | if output: | ||
self.summarise() | |||