Переглянути джерело

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.
Thomas Waldmann 9 роки тому
батько
коміт
af2f1f7861
1 змінених файлів з 0 додано та 1 видалено
  1. 0 1
      borg/repository.py

+ 0 - 1
borg/repository.py

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