diff options
Diffstat (limited to 'gsxws')
-rw-r--r-- | gsxws/products.py | 8 |
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): |