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