From 44fce6e4561c0598a72a4f0081db7391158f4f50 Mon Sep 17 00:00:00 2001 From: brent s Date: Thu, 26 Oct 2017 06:13:31 -0400 Subject: [PATCH] oops --- storage/backups/borg/backup.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/storage/backups/borg/backup.py b/storage/backups/borg/backup.py index b5d5f13..c63cec7 100755 --- a/storage/backups/borg/backup.py +++ b/storage/backups/borg/backup.py @@ -119,7 +119,7 @@ class Backup(object): if _returncode != 0: self.logger.error('STDERR: ({1})\n{0}'.format(_err, ' '.join(cmd))) if _err != '' and self.cron: - self.logger.warning('Command {0} failed: {1}'.format(' '.join(cmd), _err) + self.logger.warning('Command {0} failed: {1}'.format(' '.join(cmd), _err)) return() def createRepo(self): @@ -153,7 +153,7 @@ class Backup(object): if _returncode != 0: self.logger.error('[{0}]: FAILED: {1}'.format(r, ' '.join(_cmd))) if _err != '' and self.cron and _returncode != 0: - self.logger.warning('Command {0} failed: {1}'.format(' '.join(cmd), _err) + self.logger.warning('Command {0} failed: {1}'.format(' '.join(cmd), _err)) del(_env['BORG_PASSPHRASE']) self.logger.info('[{0}]: END INITIALIZATION'.format(r)) return() @@ -374,7 +374,7 @@ class Backup(object): _stderr, ' '.join(_cmd))) if _err != '' and self.cron and _returncode != 0: - self.logger.warning('Command {0} failed: {1}'.format(' '.join(cmd), _err) + self.logger.warning('Command {0} failed: {1}'.format(' '.join(cmd), _err)) del(_env['BORG_PASSPHRASE']) if not self.args['archive']: if self.args['numlimit'] > 0: