aboutsummaryrefslogtreecommitdiffstats
path: root/gsxws
diff options
context:
space:
mode:
authorFilipp Lepalaan <f@230.to>2013-05-13 11:39:35 +0300
committerFilipp Lepalaan <f@230.to>2013-05-13 11:39:35 +0300
commitc56dd3f2b7a430e5f870ea6b868ea6e3126bdcd4 (patch)
treeead00b2e7ae1c296a7fceb055acd9e340ce1f7a4 /gsxws
parent8817984be657bed6f35f184ab53dc691123edb6d (diff)
downloadpy-gsxws-c56dd3f2b7a430e5f870ea6b868ea6e3126bdcd4.tar.gz
py-gsxws-c56dd3f2b7a430e5f870ea6b868ea6e3126bdcd4.tar.bz2
py-gsxws-c56dd3f2b7a430e5f870ea6b868ea6e3126bdcd4.zip
CompTIA fixes
Diffstat (limited to 'gsxws')
-rw-r--r--gsxws/comptia.py5
1 files changed, 4 insertions, 1 deletions
diff --git a/gsxws/comptia.py b/gsxws/comptia.py
index 02276a8..aad4378 100644
--- a/gsxws/comptia.py
+++ b/gsxws/comptia.py
@@ -82,10 +82,13 @@ class CompTIA(GsxObject):
"""
Returns all known CompTIA symptom codes or just the ones
belonging to the given component code.
+
+ >>> CompTIA().fetch() # doctest: +ELLIPSIS
+ {'A': {'989': 'Remote Inoperable', ...
"""
r = dict()
- for g, codes in self.data.items():
+ for g, codes in self._data.items():
r[g] = list()
for k, v in codes.items():
r[g].append((k, v,))