Code Repositories xandikos / 56b7ba4
Fix the build. Jelmer Vernooń≥ 2 years ago
1 changed file(s) with 2 addition(s) and 2 deletion(s). Raw diff Collapse all Expand all
296296 if self.resource_type is None:
297297 return True
298298 if isinstance(self.resource_type, tuple):
299 return any(rs in resource.resource_type
299 return any(rs in resource.resource_types
300300 for rs in self.resource_type)
301301 if self.resource_type in resource.resource_types:
302302 return True
10251025 if self.resource_type is None:
10261026 return True
10271027 if isinstance(self.resource_type, tuple):
1028 return any(rs in resource.resource_type
1028 return any(rs in resource.resource_types
10291029 for rs in self.resource_type)
10301030 return self.resource_type in resource.resource_types
10311031