浏览代码

remove duplicate code with the unit test

Antoine Beaupré 10 年之前
父节点
当前提交
5b8cb63479
共有 1 个文件被更改,包括 0 次插入3 次删除
  1. 0 3
      borg/converter.py

+ 0 - 3
borg/converter.py

@@ -89,9 +89,6 @@ class AtticRepositoryConverter(Repository):
         if not dryrun:
             with open(keyfile, 'w') as f:
                 f.write(data)
-            with open(keyfile, 'r') as f:
-                data = f.read()
-            assert data.startswith(KeyfileKey.FILE_ID)
 
     def convert_cache(self, dryrun):
         """convert caches from attic to borg