Skip to content

Commit

Permalink
make flake8 happy
Browse files Browse the repository at this point in the history
  • Loading branch information
pbiering committed Dec 5, 2024
1 parent 38c236a commit 873bf80
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion radicale/item/filter.py
Original file line number Diff line number Diff line change
Expand Up @@ -274,7 +274,7 @@ def get_children(components: Iterable[vobject.base.Component]) -> Iterator[
if hasattr(comp, "recurrence_id") and comp.recurrence_id.value:
recurrences.append(comp.recurrence_id.value)
if comp.rruleset:
if comp.rruleset._len == None:
if comp.rruleset._len is None:
logger.warning("Ignore empty RRULESET in item at RECURRENCE-ID with value '%s' and UID '%s'", comp.recurrence_id.value, comp.uid.value)
else:
# Prevent possible infinite loop
Expand Down

0 comments on commit 873bf80

Please sign in to comment.