File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 66from variantlib import __package_name__
77from variantlib .api import VariantDescription
88from variantlib .api import VariantProperty
9- from variantlib .constants import NULL_VARIANT_LABEL
109
1110
1211def get_variant_hash (args : list [str ]) -> None :
@@ -36,8 +35,6 @@ def get_variant_hash(args: list[str]) -> None:
3635
3736def _print_variant_hash (properties : list [VariantProperty ]) -> None :
3837 # Transform properties into a VariantDescription
39- vdesc = VariantDescription (
40- properties = properties , label = "na" if properties else NULL_VARIANT_LABEL
41- )
38+ vdesc = VariantDescription (properties = properties )
4239
4340 sys .stdout .write (f"{ vdesc .hexdigest } \n " )
Original file line number Diff line number Diff line change @@ -169,7 +169,7 @@ def _make_variant(
169169
170170 if not is_null_variant :
171171 # Transform properties into a VariantDescription
172- vdesc = VariantDescription (properties = properties , label = "na" )
172+ vdesc = VariantDescription (properties = properties )
173173
174174 if validate_properties :
175175 env_factory : DefaultIsolatedEnv | nullcontext [None ]
You can’t perform that action at this time.
0 commit comments