1
0
Эх сурвалжийг харах

Merge pull request #461 from Unrud/patch-27

Remove old code
Guillaume Ayoub 9 жил өмнө
parent
commit
9aefc500ec
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):