diff options
author | Filipp Lepalaan <filipp@mac.com> | 2015-11-08 18:56:57 +0200 |
---|---|---|
committer | Filipp Lepalaan <filipp@mac.com> | 2015-11-08 18:56:57 +0200 |
commit | 1bf79e5f9bcdc4b82bf36890ed8050fe5dd505b3 (patch) | |
tree | c3b546c4c49cd85e28c14c3a19b56d8b9bac00aa /gsxws/products.py | |
parent | 20709c67a12fcddaf4a855a630cd35714ebe4021 (diff) | |
download | py-gsxws-1bf79e5f9bcdc4b82bf36890ed8050fe5dd505b3.tar.gz py-gsxws-1bf79e5f9bcdc4b82bf36890ed8050fe5dd505b3.tar.bz2 py-gsxws-1bf79e5f9bcdc4b82bf36890ed8050fe5dd505b3.zip |
Catch TypeError in repair strategies
Diffstat (limited to 'gsxws/products.py')
-rw-r--r-- | gsxws/products.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gsxws/products.py b/gsxws/products.py index 281c097..6fa4666 100644 --- a/gsxws/products.py +++ b/gsxws/products.py @@ -103,7 +103,7 @@ class Product(object): try: for i in self.warrantyDetails.availableRepairStrategies: self.repair_strategies.append(i.availableRepairStrategy) - except AttributeError: + except (AttributeError, TypeError): pass return self.warrantyDetails |