Преглед на файлове

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