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 95c43fd9d940760f0ea990e6dacb6bdb07a6444e..bb54d0a168f8b6985505ca658903b0c705a60baa 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)