diff options
Diffstat (limited to 'gsxws')
-rw-r--r-- | gsxws/comptia.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gsxws/comptia.py b/gsxws/comptia.py index a12c046..3cd47d7 100644 --- a/gsxws/comptia.py +++ b/gsxws/comptia.py @@ -68,10 +68,10 @@ class CompTIA(GsxObject): root = doc.find('.//comptiaInfo') for el in root.findall(".//comptiaGroup"): - group = {} + group = [] comp_id = unicode(el[0].text) for ci in el.findall("comptiaCodeInfo"): - group[ci[0].text] = unicode(ci[1].text) + group.append((ci[0].text, unicode(ci[1].text)),) self._comptia[comp_id] = group |