aboutsummaryrefslogtreecommitdiffstats
path: root/gsxws/products.py
diff options
context:
space:
mode:
authorFilipp Lepalaan <filipp@mac.com>2015-10-20 22:16:55 +0300
committerFilipp Lepalaan <filipp@mac.com>2015-10-20 22:16:55 +0300
commit20709c67a12fcddaf4a855a630cd35714ebe4021 (patch)
tree625bb4cea9db448123f8f423b52ab8d403b355eb /gsxws/products.py
parent65f1bf52be1537cd4b077e0665cb76c462bb013b (diff)
downloadpy-gsxws-20709c67a12fcddaf4a855a630cd35714ebe4021.tar.gz
py-gsxws-20709c67a12fcddaf4a855a630cd35714ebe4021.tar.bz2
py-gsxws-20709c67a12fcddaf4a855a630cd35714ebe4021.zip
Added repair strategies
Diffstat (limited to 'gsxws/products.py')
-rw-r--r--gsxws/products.py8
1 files changed, 8 insertions, 0 deletions
diff --git a/gsxws/products.py b/gsxws/products.py
index b268457..281c097 100644
--- a/gsxws/products.py
+++ b/gsxws/products.py
@@ -98,6 +98,14 @@ class Product(object):
self.productDescription = self.warrantyDetails.productDescription
self.description = self.productDescription.lstrip('~VIN,')
+ self.repair_strategies = []
+
+ try:
+ for i in self.warrantyDetails.availableRepairStrategies:
+ self.repair_strategies.append(i.availableRepairStrategy)
+ except AttributeError:
+ pass
+
return self.warrantyDetails
def parts(self):