浏览代码

remove needless indentation

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

+ 2 - 5
borg/converter.py

@@ -93,11 +93,8 @@ class AtticRepositoryConverter(Repository):
         print("converting keyfile %s" % keyfile)
         with open(keyfile, 'r') as f:
             data = f.read()
-        data = data.replace(AtticKeyfileKey.FILE_ID,
-                            KeyfileKey.FILE_ID,
-                            1)
-        keyfile = os.path.join(get_keys_dir(),
-                               os.path.basename(keyfile))
+        data = data.replace(AtticKeyfileKey.FILE_ID, KeyfileKey.FILE_ID, 1)
+        keyfile = os.path.join(get_keys_dir(), os.path.basename(keyfile))
         print("writing borg keyfile to %s" % keyfile)
         if not dryrun:
             with open(keyfile, 'w') as f: