浏览代码

Remove unused variable

Unrud 8 年之前
父节点
当前提交
5a0d4f7f2f
共有 1 个文件被更改,包括 0 次插入3 次删除
  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: