diff options
author | Nikolaus Rath <Nikolaus@rath.org> | 2018-11-06 19:19:19 +0000 |
---|---|---|
committer | Nikolaus Rath <Nikolaus@rath.org> | 2018-11-06 19:19:19 +0000 |
commit | e23ce8bd57dc9ab46072803975ea7a00347522f9 (patch) | |
tree | c686dc1c3de393b00bd40e9b0da7b677a98c6c44 /src/s3ql/mkfs.py | |
parent | 1a409cda12893476fdd81f2ea207f7597628462d (diff) |
New upstream version 2.32+dfsg
Diffstat (limited to 'src/s3ql/mkfs.py')
-rw-r--r-- | src/s3ql/mkfs.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/s3ql/mkfs.py b/src/s3ql/mkfs.py index f5cdf04..3b0b2f3 100644 --- a/src/s3ql/mkfs.py +++ b/src/s3ql/mkfs.py @@ -166,6 +166,8 @@ def main(args=None): backend.store('s3ql_seq_no_%d' % param['seq_no'], b'Empty') with open(cachepath + '.params', 'wb') as fh: fh.write(freeze_basic_mapping(param)) + if os.path.exists(cachepath + '-cache'): + shutil.rmtree(cachepath + '-cache') if data_pw is not None: print('Please store the following master key in a safe location. It allows ', |