mirror of https://github.com/borgbackup/borg.git
remove a fixed FIXME
see a few lines below, where it renames the original file to *.beforerecover before creating the repaired copy using the old name.
This commit is contained in:
parent
894546c3fe
commit
af2f1f7861
|
@ -550,7 +550,6 @@ class LoggedIO:
|
|||
def recover_segment(self, segment, filename):
|
||||
if segment in self.fds:
|
||||
del self.fds[segment]
|
||||
# FIXME: save a copy of the original file
|
||||
with open(filename, 'rb') as fd:
|
||||
data = memoryview(fd.read())
|
||||
os.rename(filename, filename + '.beforerecover')
|
||||
|
|
Loading…
Reference in New Issue