2
0
Эх сурвалжийг харах

remove duplicate code with the unit test

Antoine Beaupré 9 жил өмнө
parent
commit
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