Revert "Follow the depth in REPORT requests"

This reverts commit 9556508b2a.
This commit is contained in:
Guillaume Ayoub
2014-03-05 19:26:42 +01:00
parent 9556508b2a
commit 45f8e76643
2 changed files with 23 additions and 19 deletions

View File

@@ -568,10 +568,11 @@ class Application(object):
if not len(read_collections):
return NOT_ALLOWED
collection = read_collections[0]
headers = {"Content-Type": "text/xml"}
answer = xmlutils.report(
environ["PATH_INFO"], content, read_collections)
answer = xmlutils.report(environ["PATH_INFO"], content, collection)
return client.MULTI_STATUS, headers, answer
# pylint: enable=W0612,W0613,R0201