Code Repositories xandikos / 0b2f6d1
Also handle MissingProperty when parsing indexes. Jelmer Vernooń≥ 3 months ago
1 changed file(s) with 8 addition(s) and 2 deletion(s). Raw diff Collapse all Expand all
721721
722722 def check_from_indexes(self, name, indexes):
723723 for child_filter in self.children:
724 if not child_filter.match_indexes(
725 indexes, self.tzify):
724 try:
725 if not child_filter.match_indexes(
726 indexes, self.tzify):
727 return False
728 except MissingProperty as e:
729 logging.warning(
730 'calendar_query: Ignoring calendar object %s, due '
731 'to missing property %s', name, e.property_name)
726732 return False
727733 return True
728734