Ver código fonte

Remove old code

This was missed while merging #457 and #459.
Unrud 9 anos atrás
pai
commit
6d77e24028
1 arquivos alterados com 1 adições e 3 exclusões
  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):