Skip to content

Commit a0d9429

Browse files
committed
tools: ynl: remove trailing semicolon
Commit e8a6c51 ("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 <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Jakub Kicinski <[email protected]>
1 parent fcac05d commit a0d9429

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tools/net/ynl/lib/ynl.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -489,7 +489,7 @@ def _get_scalar(self, attr_spec, value):
489489
except (ValueError, TypeError) as e:
490490
if 'enum' not in attr_spec:
491491
raise e
492-
return self._encode_enum(attr_spec, value);
492+
return self._encode_enum(attr_spec, value)
493493

494494
def _add_attr(self, space, name, value, search_attrs):
495495
try:

0 commit comments

Comments
 (0)