mirror of
https://github.com/borgbackup/borg.git
synced 2024-12-30 19:57:42 +00:00
remove duplicate code with the unit test
This commit is contained in:
parent
dbd4ac7f8d
commit
5b8cb63479
1 changed files with 0 additions and 3 deletions
|
@ -89,9 +89,6 @@ def convert_keyfiles(keyfile, dryrun):
|
||||||
if not dryrun:
|
if not dryrun:
|
||||||
with open(keyfile, 'w') as f:
|
with open(keyfile, 'w') as f:
|
||||||
f.write(data)
|
f.write(data)
|
||||||
with open(keyfile, 'r') as f:
|
|
||||||
data = f.read()
|
|
||||||
assert data.startswith(KeyfileKey.FILE_ID)
|
|
||||||
|
|
||||||
def convert_cache(self, dryrun):
|
def convert_cache(self, dryrun):
|
||||||
"""convert caches from attic to borg
|
"""convert caches from attic to borg
|
||||||
|
|
Loading…
Reference in a new issue