Skip to content

Commit be74894

Browse files
Fixup
1 parent e5f3c79 commit be74894

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

variantlib/resolver/filtering.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -213,9 +213,9 @@ def _should_include(vdesc: VariantDescription) -> bool:
213213
vprops_dict[VariantFeature(vprop.namespace, vprop.feature)].add(vprop.value)
214214

215215
for vfeat_tuple, property_values in vprops_dict.items():
216-
if (
216+
if not (
217217
allowed_props := allowed_props_dict.get(vfeat_tuple)
218-
) is None or not allowed_props:
218+
):
219219
# If there are no allowed properties for this feature, we reject
220220
# the variant.
221221
logger.info(

0 commit comments

Comments
 (0)