diff --git a/lib/benchpark/spec.py b/lib/benchpark/spec.py index 4984c61e5..4e1820807 100644 --- a/lib/benchpark/spec.py +++ b/lib/benchpark/spec.py @@ -28,7 +28,7 @@ def __setitem__(self, name: str, values: Union[str, Iterable]): if isinstance(values, str): values = (values,) else: - values = tuple(*values) + values = tuple(values) super().__setitem__(name, values) def intersects(self, other: "VariantMap") -> bool: @@ -498,7 +498,7 @@ def next_spec(self) -> Optional[Spec]: ), f"SPLIT_KVP cannot split pair {self.ctx.current_token.value}" name, value = match.groups() - spec.variants[name] = value + spec.variants[name] = value.split(",") else: break