diff options
author | Filipp Lepalaan <f@230.to> | 2013-05-13 11:39:35 +0300 |
---|---|---|
committer | Filipp Lepalaan <f@230.to> | 2013-05-13 11:39:35 +0300 |
commit | c56dd3f2b7a430e5f870ea6b868ea6e3126bdcd4 (patch) | |
tree | ead00b2e7ae1c296a7fceb055acd9e340ce1f7a4 | |
parent | 8817984be657bed6f35f184ab53dc691123edb6d (diff) | |
download | py-gsxws-c56dd3f2b7a430e5f870ea6b868ea6e3126bdcd4.tar.gz py-gsxws-c56dd3f2b7a430e5f870ea6b868ea6e3126bdcd4.tar.bz2 py-gsxws-c56dd3f2b7a430e5f870ea6b868ea6e3126bdcd4.zip |
CompTIA fixes
-rw-r--r-- | gsxws/comptia.py | 5 |
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,)) |