From 5a0d4f7f2f2b85b8e16120a300babea5b8a5d579 Mon Sep 17 00:00:00 2001 From: Unrud Date: Fri, 16 Jun 2017 23:11:22 +0200 Subject: [PATCH] Remove unused variable --- radicale/storage.py | 3 --- 1 file changed, 3 deletions(-) diff --git a/radicale/storage.py b/radicale/storage.py index 3d647beb..b178fd8b 100644 --- a/radicale/storage.py +++ b/radicale/storage.py @@ -690,9 +690,6 @@ class Collection(BaseCollection): # Path should already be sanitized sane_path = sanitize_path(href).strip("/") - attributes = sane_path.split("/") - if not attributes[0]: - attributes.pop() filesystem_path = path_to_filesystem(folder, sane_path) if not props: