Skip to content

Commit 33891e8

Browse files
committed
style fix
1 parent ffaa7e4 commit 33891e8

3 files changed

Lines changed: 7 additions & 4 deletions

File tree

caldav/davclient.py

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -312,7 +312,10 @@ def _expand_simple_prop(
312312
prop_xml = props_found[proptag]
313313
if prop_xml.items():
314314
from caldav.lib.debug import xmlstring
315-
log.error(f"If you see this, please add a report at https://github.com/python-caldav/caldav/issues/209 - in _expand_simple_prop, dealing with {proptag}, extra items found: {xmlstring(prop_xml)}.")
315+
316+
log.error(
317+
f"If you see this, please add a report at https://github.com/python-caldav/caldav/issues/209 - in _expand_simple_prop, dealing with {proptag}, extra items found: {xmlstring(prop_xml)}."
318+
)
316319
if not xpath and len(prop_xml) == 0:
317320
if prop_xml.text:
318321
values.append(prop_xml.text)

caldav/objects.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1348,7 +1348,7 @@ def build_search_xml_query(
13481348
props=None,
13491349
alarm_start=None,
13501350
alarm_end=None,
1351-
**kwargs
1351+
**kwargs,
13521352
):
13531353
"""This method will produce a caldav search query as an etree object.
13541354

tests/test_caldav.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -997,7 +997,7 @@ def testAlarm(self):
997997
self.skip_on_compatibility_flag("no_alarmsearch")
998998

999999
## So we have an alarm that goes off 07:45 for an event starting 08:00
1000-
1000+
10011001
## Search for alarms after 8 should find nothing
10021002
## (search for an alarm 07:55 - 08:05 should most likely find nothing).
10031003
assert (
@@ -1010,7 +1010,7 @@ def testAlarm(self):
10101010
)
10111011
== 0
10121012
)
1013-
1013+
10141014
## Search for alarms from 07:40 to 07:55 should definitively find the alarm.
10151015
assert (
10161016
len(

0 commit comments

Comments
 (0)