1
0
Fork 0
mirror of https://github.com/Kozea/Radicale.git synced 2025-06-26 16:45:52 +00:00

Merge commit 'refs/merge-requests/8' of gitorious.org:radicale/radicale into merge-requests/8

This commit is contained in:
Guillaume Ayoub 2011-04-25 13:29:51 +02:00
commit 43a1886546
5 changed files with 46 additions and 5 deletions

View file

@ -29,7 +29,7 @@ in them for XML requests (all but PUT).
import xml.etree.ElementTree as ET
from radicale import client, config, ical
from radicale import client, config, ical, log
NAMESPACES = {
@ -83,11 +83,11 @@ def propfind(path, xml_request, calendar, depth):
"""Read and answer PROPFIND requests.
Read rfc4918-9.1 for info.
"""
# Reading request
root = ET.fromstring(xml_request)
prop_element = root.find(_tag("D", "prop"))
prop_list = prop_element.getchildren()
props = [prop.tag for prop in prop_list]