summaryrefslogtreecommitdiff
path: root/python
diff options
context:
space:
mode:
authorJohn Estabrook <jestabro@vyos.io>2023-08-10 13:59:15 -0500
committerJohn Estabrook <jestabro@vyos.io>2023-08-10 14:00:08 -0500
commit7ed15c92160a262849d61db37385ab5d0a0ab913 (patch)
tree4831c26ab8bed52c8b9cc4e8f641a39c01cbb5dc /python
parent2087d4cb4577a3841fae79425081dec8a3abace8 (diff)
downloadvyos-1x-7ed15c92160a262849d61db37385ab5d0a0ab913.tar.gz
vyos-1x-7ed15c92160a262849d61db37385ab5d0a0ab913.zip
xml: T5218: fix typo in component_version
Diffstat (limited to 'python')
-rw-r--r--python/vyos/xml_ref/definition.py2
1 files changed, 1 insertions, 1 deletions
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