瀏覽代碼

Remove old code

This was missed while merging #457 and #459.
Unrud 9 年之前
父節點
當前提交
6d77e24028
共有 1 個文件被更改,包括 1 次插入3 次删除
  1. 1 3
      radicale/__init__.py

+ 1 - 3
radicale/__init__.py

@@ -459,9 +459,7 @@ class Application:
             if item:
                 return client.CONFLICT, {}, None
             props = xmlutils.props_from_request(content)
-            collection = self.Collection.create_collection(path, props=props)
-            for key, value in props.items():
-                collection.set_meta(key, value)
+            self.Collection.create_collection(path, props=props)
             return client.CREATED, {}, None
 
     def do_MOVE(self, environ, path, content, user):