which is a combination of a action type and a specific action
configuration).
"""
- def __init__(self):
+ def __init__(self, logger):
# Subclasses should overwrite this with their default config
# See backupninja.config.load_config for the structure of this
# value.
# A logger object for this action. In the future, this might
# become a specific logger, that includes the action name and
# type.
- self.log = log
+ self.log = logger
def run(self, **kwargs):
"""