浏览代码

Code formatting.

Dan Helfman 7 月之前
父节点
当前提交
fc7a2852e0
共有 1 个文件被更改,包括 4 次插入1 次删除
  1. 4 1
      borgmatic/borg/extract.py

+ 4 - 1
borgmatic/borg/extract.py

@@ -110,7 +110,10 @@ def extract_archive(
         # is so this doesn't count the final path component, e.g. the filename itself.
         strip_components = max(
             0,
-            *(len(tuple(piece for piece in path.split(os.path.sep) if piece)) - 1 for path in paths)
+            *(
+                len(tuple(piece for piece in path.split(os.path.sep) if piece)) - 1
+                for path in paths
+            ),
         )
 
     working_directory = borgmatic.config.options.get_working_directory(config)