From: Matthijs Kooijman Date: Thu, 10 Jun 2010 06:26:07 +0000 (+0200) Subject: actions: Sort actions before running them. X-Git-Url: https://git.stderr.nl/gitweb?a=commitdiff_plain;h=409a50cb7b0b6ebbf02405e3055e6e5a1865d416;p=matthijs%2Fprojects%2Fbackupninja.git actions: Sort actions before running them. --- diff --git a/src/lib/backupninja/action.py b/src/lib/backupninja/action.py index 95c43fd..bb54d0a 100644 --- a/src/lib/backupninja/action.py +++ b/src/lib/backupninja/action.py @@ -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)