diff options
author | Filipp Lepalaan <filipp@mac.com> | 2015-11-18 22:43:07 +0200 |
---|---|---|
committer | Filipp Lepalaan <filipp@mac.com> | 2015-11-18 22:43:07 +0200 |
commit | 8bf05b0b5c600445c28cf7e2033c1b6213d11982 (patch) | |
tree | 8edbc77fb42407216f3d041189bca0ac6cece358 /gsxws | |
parent | 1bf79e5f9bcdc4b82bf36890ed8050fe5dd505b3 (diff) | |
download | py-gsxws-8bf05b0b5c600445c28cf7e2033c1b6213d11982.tar.gz py-gsxws-8bf05b0b5c600445c28cf7e2033c1b6213d11982.tar.bz2 py-gsxws-8bf05b0b5c600445c28cf7e2033c1b6213d11982.zip |
Store symptom codes as two-tuples instead
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 |