From 09a3af9f9b80e56b0b8540ff10cee34c6ce43bf6 Mon Sep 17 00:00:00 2001 From: Filipp Lepalaan Date: Fri, 6 Sep 2013 22:31:10 +0300 Subject: Don't use property decorator in Product --- gsxws/products.py | 6 ------ 1 file changed, 6 deletions(-) diff --git a/gsxws/products.py b/gsxws/products.py index 36aff3a..c16485e 100644 --- a/gsxws/products.py +++ b/gsxws/products.py @@ -144,28 +144,22 @@ class Product(GsxObject): import re return ad.unlocked or (re.search("Unlock", ad.nextTetherPolicyDetails) is not None) - @property def is_vintage(self): title = self.warrantyDetails.productDescription return title.startswith('~VIN,') - @property def is_locked(self): return not self.is_unlocked() - @property def parts_covered(self): return self.warrantyDetails.partCovered is True - @property def labor_covered(self): return self.warrantyDetails.laborCovered is True - @property def parts_and_labor_covered(self): return self.parts_covered and self.labor_covered - @property def has_onsite(self): from datetime import date try: -- cgit v1.2.3