aboutsummaryrefslogtreecommitdiffstats
path: root/gsxws.py
diff options
context:
space:
mode:
Diffstat (limited to 'gsxws.py')
-rwxr-xr-xgsxws.py13
1 files changed, 7 insertions, 6 deletions
diff --git a/gsxws.py b/gsxws.py
index 95552c2..1076ee1 100755
--- a/gsxws.py
+++ b/gsxws.py
@@ -234,12 +234,13 @@ class CompTIA:
for el in root.findall('.//comptiaGroup'):
comp_id = el[0].text
- group = {'id': comp_id, 'name': el[1].text}
- group['codes'] = dict()
-
+ #group = {'id': comp_id, 'name': el[1].text}
+ #group['codes'] = dict()
+ group = {}
for ci in el.findall('comptiaCodeInfo'):
- group['codes'][ci[0].text] = ci[1].text
-
+ group[ci[0].text] = ci[1].text
+
+ # @TODO
self.data['symptoms'][comp_id] = group
for el in root.findall('.//comptiaModifier'):
@@ -802,7 +803,7 @@ def connect(
Establishes connection with GSX Web Services.
Returns the session ID of the new connection.
"""
-
+
global SESSION
global LOCALE