369
369
# List of standard options directly supported
370
370
self.supported_std_options = []
371
371
self._operation = cleanup.OperationWithCleanups(self.run)
373
373
def add_cleanup(self, cleanup_func, *args, **kwargs):
374
374
"""Register a function to call after self.run returns or raises.