Minor typo fixes

This commit is contained in:
Guillaume Ayoub 2011-05-13 10:13:56 +02:00
parent 70e66ed070
commit 4f3b574e35

View File

@ -36,14 +36,11 @@ NAMESPACES = {
"C": "urn:ietf:params:xml:ns:caldav",
"D": "DAV:",
"CS": "http://calendarserver.org/ns/",
"ICAL": "http://apple.com/ns/ical/",
}
"ICAL": "http://apple.com/ns/ical/"}
for short, url in NAMESPACES.items():
if short == "D":
short = ""
ET._namespace_map[url] = short
ET._namespace_map[url] = "" if short == "D" else short
def _pretty_xml(element, level=0):