action: Let each action track a status and log it.
[matthijs/projects/backupninja.git] / src / lib / backupninja / handlers / __init__.py
index f6559f9b692294b401244f7dc65eb47c203a8779..dbc403e04585e21f167410da25d8da99f938bd06 100644 (file)
@@ -38,6 +38,9 @@ class Action(object):
         # See backupninja.config.load_config for the structure of this
         # value.
         self.default_config = {}
+        # Assume we'll run succesfully. If anything fails in the
+        # meanwhile, set this to True.
+        self.failed = False
 
     def run(self, **kwargs):
         """