From ddc8059fb7ecd5fe0e9ffd636e5199d32c06800a Mon Sep 17 00:00:00 2001 From: John Estabrook Date: Thu, 7 Aug 2025 18:38:40 -0500 Subject: T7699: formatting --- python/vyos/xml_ref/generate_op_cache.py | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'python') diff --git a/python/vyos/xml_ref/generate_op_cache.py b/python/vyos/xml_ref/generate_op_cache.py index 83900c7c7..f49b2290b 100755 --- a/python/vyos/xml_ref/generate_op_cache.py +++ b/python/vyos/xml_ref/generate_op_cache.py @@ -93,7 +93,7 @@ def translate_command(s: str, pos: list[str]) -> str: # it means the command is incorrect, # e.g., it references "$6" when it only has five words. if re.search(r'_place_holder_', s): - print(f"Command translation failed: {s}") + print(f'Command translation failed: {s}') sys.exit(1) return s @@ -155,7 +155,9 @@ def insert_node( else: name = n.get('name') if not name: - raise ValueError("Node name is required for all node types except ") + raise ValueError( + 'Node name is required for all node types except ' + ) if path is None: path = [] -- cgit v1.2.3