From 7ed15c92160a262849d61db37385ab5d0a0ab913 Mon Sep 17 00:00:00 2001 From: John Estabrook Date: Thu, 10 Aug 2023 13:59:15 -0500 Subject: xml: T5218: fix typo in component_version --- python/vyos/xml_ref/definition.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/python/vyos/xml_ref/definition.py b/python/vyos/xml_ref/definition.py index 38e07f0a7..c90c5ddbc 100644 --- a/python/vyos/xml_ref/definition.py +++ b/python/vyos/xml_ref/definition.py @@ -162,7 +162,7 @@ class Xml: def component_version(self) -> dict: d = {} - for k, v in self.ref['component_version']: + for k, v in self.ref['component_version'].items(): d[k] = int(v) return d -- cgit v1.2.3