+from backupninja import config
+
+class Action(object):
+ """
+ Subclasses of Action represent handlers for various action types.
+ This class is called Action instead of Handler, since even though the
+ classes could be referred to as handlers, the instances of this
+ class are really actions (i.e., it represents a specific action,
+ which is a combination of a action type and a specific action
+ configuration).
+ """
+ def __init__(self):
+ # Subclasses should overwrite this with their default config
+ # See backupninja.config.load_config for the structure of this
+ # value.
+ self.default_config = {}