소스 검색

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: