From cc78223164883465170e1066ba02010420fc9ddf Mon Sep 17 00:00:00 2001 From: Dan Helfman Date: Wed, 25 Oct 2017 21:58:02 -0700 Subject: [PATCH] Fixing inconsistent indentation. --- borgmatic/commands/borgmatic.py | 30 +++++++++++++++--------------- 1 file changed, 15 insertions(+), 15 deletions(-) diff --git a/borgmatic/commands/borgmatic.py b/borgmatic/commands/borgmatic.py index 14d73bb..c352b9d 100644 --- a/borgmatic/commands/borgmatic.py +++ b/borgmatic/commands/borgmatic.py @@ -104,21 +104,21 @@ def main(): # pragma: no cover create.initialize(storage) hook.execute_hook(hooks.get('before_backup')) - for repository in location['repositories']: - if args.prune: - logger.info('{}: Pruning archives'.format(repository)) - prune.prune_archives(args.verbosity, repository, retention, remote_path=remote_path) - if args.create: - logger.info('{}: Creating archive'.format(repository)) - create.create_archive( - args.verbosity, - repository, - location, - storage, - ) - if args.check: - logger.info('{}: Running consistency checks'.format(repository)) - check.check_archives(args.verbosity, repository, consistency, remote_path=remote_path) + for repository in location['repositories']: + if args.prune: + logger.info('{}: Pruning archives'.format(repository)) + prune.prune_archives(args.verbosity, repository, retention, remote_path=remote_path) + if args.create: + logger.info('{}: Creating archive'.format(repository)) + create.create_archive( + args.verbosity, + repository, + location, + storage, + ) + if args.check: + logger.info('{}: Running consistency checks'.format(repository)) + check.check_archives(args.verbosity, repository, consistency, remote_path=remote_path) hook.execute_hook(hooks.get('after_backup')) except (OSError, CalledProcessError):