浏览代码

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