summaryrefslogtreecommitdiff
path: root/lbup/repository.py
diff options
context:
space:
mode:
authorAnton Khirnov <anton@khirnov.net>2020-10-18 17:05:50 +0200
committerAnton Khirnov <anton@khirnov.net>2020-10-18 17:05:50 +0200
commitfe134ec2f59514813e0d3df6daf5f35197e71230 (patch)
treea663d85ca0213480418668ecdac250144d63d235 /lbup/repository.py
parent21c759115774e7ab980b210d6f806938fa0b12e5 (diff)
Do not pass data dir to Target.save().
It is not used there.
Diffstat (limited to 'lbup/repository.py')
-rw-r--r--lbup/repository.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/lbup/repository.py b/lbup/repository.py
index 8275910..377be61 100644
--- a/lbup/repository.py
+++ b/lbup/repository.py
@@ -72,7 +72,7 @@ class Repo:
for tgt in tgts:
self._logger.info('Backing up %s...' % tgt.name)
try:
- res = tgt.save(self.data_dir, dry_run)
+ res = tgt.save(dry_run)
except Exception as e:
self._logger.exception('Exception backing up %s: %s' % (tgt.name, str(e)))
res = StepResult(False, str(e).encode('utf-8'))