From fc7a2852e009d99f01126ab323f8099370e8fa9f Mon Sep 17 00:00:00 2001 From: Dan Helfman Date: Sat, 26 Oct 2024 20:34:48 -0700 Subject: [PATCH] Code formatting. --- borgmatic/borg/extract.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/borgmatic/borg/extract.py b/borgmatic/borg/extract.py index 4d029514..ece456cf 100644 --- a/borgmatic/borg/extract.py +++ b/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)