From 770cb31e7a719fb6dc78d9bf0b1b39f806c3fe77 Mon Sep 17 00:00:00 2001 From: Peter Bieringer Date: Sun, 1 Mar 2026 08:56:38 +0100 Subject: [PATCH] Remove unused variable safe_path_parent Remove unused variable safe_path_parent --- radicale/pathutils.py | 1 - 1 file changed, 1 deletion(-) diff --git a/radicale/pathutils.py b/radicale/pathutils.py index fc6504b8..cdbebd6c 100644 --- a/radicale/pathutils.py +++ b/radicale/pathutils.py @@ -282,7 +282,6 @@ def path_to_filesystem(root: str, sane_path: str) -> str: for part in parts: if not is_safe_filesystem_path_component(part): raise UnsafePathError(part) - safe_path_parent = safe_path safe_path = os.path.join(safe_path, part) # Check for conflicting files (e.g. case-insensitive file systems # or short names on Windows file systems)