aboutsummaryrefslogtreecommitdiffstats
path: root/gsxws/diagnostics.py
diff options
context:
space:
mode:
authorFilipp Lepalaan <f@230.to>2013-06-10 14:32:12 +0300
committerFilipp Lepalaan <f@230.to>2013-06-10 14:32:12 +0300
commitf327752947ec4ce9445fcf51baddc9ca72443152 (patch)
treeb9971dcf65eb027ba8461badfd3891073f5bdcb8 /gsxws/diagnostics.py
parentf4b2a46541da9e17ee5372c260e09d1976d1a506 (diff)
downloadpy-gsxws-f327752947ec4ce9445fcf51baddc9ca72443152.tar.gz
py-gsxws-f327752947ec4ce9445fcf51baddc9ca72443152.tar.bz2
py-gsxws-f327752947ec4ce9445fcf51baddc9ca72443152.zip
Cleanup
Diffstat (limited to 'gsxws/diagnostics.py')
-rw-r--r--gsxws/diagnostics.py5
1 files changed, 4 insertions, 1 deletions
diff --git a/gsxws/diagnostics.py b/gsxws/diagnostics.py
index 38326da..d2a9696 100644
--- a/gsxws/diagnostics.py
+++ b/gsxws/diagnostics.py
@@ -1,8 +1,11 @@
+# -*- coding: utf-8 -*-
+
from core import GsxObject
class Diagnostics(GsxObject):
_namespace = "glob:"
+
def fetch(self):
"""
The Fetch Repair Diagnostics API allows the service providers/depot/carriers
@@ -17,7 +20,7 @@ class Diagnostics(GsxObject):
else:
self._submit("lookupRequestData", "FetchRepairDiagnostic", "FetchRepairDiagnosticResponse")
- return self._req.objects[0]
+ return self._req.objects
def events(self):
"""