Typo fix
This commit is contained in:
parent
77ab37c49c
commit
ac83dadc9c
@ -52,7 +52,7 @@ def _et_indent(element, level=0):
|
|||||||
element.tail = i
|
element.tail = i
|
||||||
for sub_element in element:
|
for sub_element in element:
|
||||||
_et_indent(sub_element, level + 1)
|
_et_indent(sub_element, level + 1)
|
||||||
# sub_element is always defined as len(element) > 0
|
# ``sub_element`` is always defined as len(element) > 0
|
||||||
# pylint: disable=W0631
|
# pylint: disable=W0631
|
||||||
if not sub_element.tail or not sub_element.tail.strip():
|
if not sub_element.tail or not sub_element.tail.strip():
|
||||||
sub_element.tail = i
|
sub_element.tail = i
|
||||||
@ -126,8 +126,8 @@ def propfind(path, xml_request, calendar, depth):
|
|||||||
if depth == "0":
|
if depth == "0":
|
||||||
items = [calendar]
|
items = [calendar]
|
||||||
else:
|
else:
|
||||||
# depth is 1, infinity or not specified
|
# Depth is 1, infinity or not specified
|
||||||
# we limit ourselves to depth == 1
|
# We limit ourselves to depth == 1
|
||||||
items = [calendar] + calendar.components
|
items = [calendar] + calendar.components
|
||||||
else:
|
else:
|
||||||
items = []
|
items = []
|
||||||
|
Loading…
Reference in New Issue
Block a user