diff options
author | Jakub Kicinski <kuba@kernel.org> | 2024-03-08 11:25:55 -0800 |
---|---|---|
committer | Jakub Kicinski <kuba@kernel.org> | 2024-03-11 15:15:27 -0700 |
commit | a0d942960d9b0ba352b2400e1a3b8fb02d911143 (patch) | |
tree | d4468d77a0fce50648e50b591b528961e2bc2a37 /tools/net/ynl | |
parent | fcac05daa7efcf96f8042bd06abd4da384ac3cd3 (diff) |
tools: ynl: remove trailing semicolon
Commit e8a6c515ff5f ("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>
Diffstat (limited to 'tools/net/ynl')
-rw-r--r-- | tools/net/ynl/lib/ynl.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/net/ynl/lib/ynl.py b/tools/net/ynl/lib/ynl.py index 2d7fdd903d9e..5fa7957f6e0f 100644 --- a/tools/net/ynl/lib/ynl.py +++ b/tools/net/ynl/lib/ynl.py @@ -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: |