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:
Thomas Waldmann 2015-10-19 11:57:12 +02:00
parent 894546c3fe
commit af2f1f7861
1 changed files with 0 additions and 1 deletions

View File

@ -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')