mirror of
https://github.com/Kozea/Radicale.git
synced 2025-06-26 16:45:52 +00:00
Minor typo fixes
This commit is contained in:
parent
70e66ed070
commit
4f3b574e35
1 changed files with 2 additions and 5 deletions
|
@ -36,14 +36,11 @@ NAMESPACES = {
|
||||||
"C": "urn:ietf:params:xml:ns:caldav",
|
"C": "urn:ietf:params:xml:ns:caldav",
|
||||||
"D": "DAV:",
|
"D": "DAV:",
|
||||||
"CS": "http://calendarserver.org/ns/",
|
"CS": "http://calendarserver.org/ns/",
|
||||||
"ICAL": "http://apple.com/ns/ical/",
|
"ICAL": "http://apple.com/ns/ical/"}
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
for short, url in NAMESPACES.items():
|
for short, url in NAMESPACES.items():
|
||||||
if short == "D":
|
ET._namespace_map[url] = "" if short == "D" else short
|
||||||
short = ""
|
|
||||||
ET._namespace_map[url] = short
|
|
||||||
|
|
||||||
|
|
||||||
def _pretty_xml(element, level=0):
|
def _pretty_xml(element, level=0):
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue