Skip to content

Commit 47647e6

Browse files
Fixup
1 parent e5f3c79 commit 47647e6

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

variantlib/resolver/filtering.py

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -213,9 +213,7 @@ 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 (
217-
allowed_props := allowed_props_dict.get(vfeat_tuple)
218-
) is None or not allowed_props:
216+
if not (allowed_props := allowed_props_dict.get(vfeat_tuple)):
219217
# If there are no allowed properties for this feature, we reject
220218
# the variant.
221219
logger.info(

0 commit comments

Comments
 (0)