diff options
author | Lars Wirzenius <liw@liw.fi> | 2011-08-25 18:21:16 +0100 |
---|---|---|
committer | Lars Wirzenius <liw@liw.fi> | 2011-08-25 18:21:16 +0100 |
commit | b4eb411bf0812a2df4874a035288da919e20b591 (patch) | |
tree | 2c3d73f0f66b003e31ea998c6cf583b929991aa9 | |
parent | dd4b21565c9491bc2ac53e549292aad25fcded67 (diff) | |
download | seivot-b4eb411bf0812a2df4874a035288da919e20b591.tar.gz |
Fix things to work when --verify is not used.
-rwxr-xr-x | seivot | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -426,7 +426,8 @@ class Seivot(cliapp.Application): target_dir = os.path.join(self.tempdir, 'restored') os.mkdir(target_dir) self.measure(prog.restore, i, 0, target_dir=target_dir) - self.verify(target_dir, i) + if self.settings['verify']: + self.verify(target_dir, i) shutil.rmtree(target_dir) for i in range(generations): |