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