diff options
author | Lars Wirzenius <liw@liw.fi> | 2016-01-01 20:25:19 +0200 |
---|---|---|
committer | Lars Wirzenius <liw@liw.fi> | 2016-01-01 20:28:38 +0200 |
commit | 4f7256a5476cc22de0e37f451c98043dbde35d94 (patch) | |
tree | 221b4a7ff832a6c1a246d910efbde7128b2887da | |
parent | 0e1f426bc21c5c6056281e6722e4f2ff04e0aaeb (diff) | |
download | obnam-benchmarks-4f7256a5476cc22de0e37f451c98043dbde35d94.tar.gz |
Fix --to option when restoring
-rw-r--r-- | NEWS | 5 | ||||
-rw-r--r-- | obbenchlib/benchmarker.py | 2 |
2 files changed, 6 insertions, 1 deletions
@@ -1,6 +1,11 @@ NEWS file for obbench ===================== +Version 0.6, released UNRELEASED +-------------------------------- + +* Fix the `restore` part of a benchmark so it actually works. + Version 0.5, released 2015-12-31 -------------------------------- diff --git a/obbenchlib/benchmarker.py b/obbenchlib/benchmarker.py index 9b3d17c..f8223a6 100644 --- a/obbenchlib/benchmarker.py +++ b/obbenchlib/benchmarker.py @@ -157,7 +157,7 @@ class Benchmarker(object): self.run_obnam(['backup']) def run_obnam_restore(self): - self.run_obnam(['restore', '-to', self._restored]) + self.run_obnam(['restore', '--to', self._restored]) def run_obnam(self, args): env = dict(os.environ) |