Jelajahi Sumber

Remove unused variable

Unrud 8 tahun lalu
induk
melakukan
5a0d4f7f2f
1 mengubah file dengan 0 tambahan dan 3 penghapusan
  1. 0 3
      radicale/storage.py

+ 0 - 3
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: