Skip to content

Commit f70175b

Browse files
committed
found and killed another debug breakpoint that accidentally had leaked into master
1 parent 9aa545f commit f70175b

1 file changed

Lines changed: 7 additions & 7 deletions

File tree

caldav/calendarobjectresource.py

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -231,13 +231,13 @@ def expand_rrule(
231231

232232
recurrence_properties = {"exdate", "exrule", "rdate", "rrule"}
233233

234-
if any(
235-
x for x in recurrings if not recurrence_properties.isdisjoint(set(x.keys()))
236-
):
237-
## I think we should not end up here. And if we do, then it's needed to reinsert the code section I just removed ...
238-
import pdb
239-
240-
pdb.set_trace()
234+
error.assert_(
235+
not any(
236+
x
237+
for x in recurrings
238+
if not recurrence_properties.isdisjoint(set(x.keys()))
239+
)
240+
)
241241

242242
calendar = self.icalendar_instance
243243
calendar.subcomponents = []

0 commit comments

Comments
 (0)