actions: Sort actions before running them.
authorMatthijs Kooijman <matthijs@stdin.nl>
Thu, 10 Jun 2010 06:26:07 +0000 (08:26 +0200)
committerMatthijs Kooijman <matthijs@stdin.nl>
Thu, 10 Jun 2010 06:26:07 +0000 (08:26 +0200)
src/lib/backupninja/action.py

index 95c43fd..bb54d0a 100644 (file)
@@ -34,6 +34,7 @@ def run_all_actions(opts, global_config):
     global configuration.
     """
     actions = config.list_actions(opts)
+    actions.sort()
 
     for action in actions:
         run_action(action, opts, global_config)