Remove old code

This was missed while merging #457 and #459.
This commit is contained in:
Unrud 2016-08-05 17:05:32 +02:00 committed by GitHub
parent 0f6e98a512
commit 6d77e24028

View File

@ -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):