tools: ynl: remove trailing semicolon

Commit e8a6c515ff ("tools: ynl: allow user to pass enum string
instead of scalar value") added a semicolon at the end of a line.

Reviewed-by: Jiri Pirko <jiri@nvidia.com>
Link: https://lore.kernel.org/r/20240308192555.2550253-1-kuba@kernel.org
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
This commit is contained in:
Jakub Kicinski 2024-03-08 11:25:55 -08:00
parent fcac05daa7
commit a0d942960d

View File

@ -489,7 +489,7 @@ class YnlFamily(SpecFamily):
except (ValueError, TypeError) as e:
if 'enum' not in attr_spec:
raise e
return self._encode_enum(attr_spec, value);
return self._encode_enum(attr_spec, value)
def _add_attr(self, space, name, value, search_attrs):
try: