mirror of
https://github.com/torvalds/linux.git
synced 2024-11-10 14:11:52 +00:00
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:
parent
fcac05daa7
commit
a0d942960d
@ -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:
|
||||
|
Loading…
Reference in New Issue
Block a user