X-Git-Url: https://git.stderr.nl/gitweb?a=blobdiff_plain;f=src%2Flib%2Fbackupninja%2Faction.py;h=3939c8d487e677968efae783cff753a3dec810ea;hb=7a6692ef5f50f18d92b53095ab09fb2f046bccbe;hp=e110d933d2aa521cbc7b334f3ad2bb072c28758f;hpb=52ce78d1bf9e1344b9fc27cae81c158580579b34;p=matthijs%2Fprojects%2Fbackupninja.git diff --git a/src/lib/backupninja/action.py b/src/lib/backupninja/action.py index e110d93..3939c8d 100644 --- a/src/lib/backupninja/action.py +++ b/src/lib/backupninja/action.py @@ -65,7 +65,7 @@ def run_action(action, opts, global_config): # Create a handler for this action handler = handlers.create_handler(action_ty, action_config) # Run it - handler.run() - handler.finish() + handler.run(test=opts.test) + handler.finish(test=opts.test) except Exception, e: log.error('Running action "%s" failed: %s', action, e)