diff options
author | Filipp Lepalaan <f@230.to> | 2013-09-06 22:31:10 +0300 |
---|---|---|
committer | Filipp Lepalaan <f@230.to> | 2013-09-06 22:31:10 +0300 |
commit | 09a3af9f9b80e56b0b8540ff10cee34c6ce43bf6 (patch) | |
tree | 7f47ea0b33b9607cf9fbd84f41335b1fe967b08a | |
parent | 36c1e480887902ff7ae0a03c6aa51bbf97a6d036 (diff) | |
download | py-gsxws-09a3af9f9b80e56b0b8540ff10cee34c6ce43bf6.tar.gz py-gsxws-09a3af9f9b80e56b0b8540ff10cee34c6ce43bf6.tar.bz2 py-gsxws-09a3af9f9b80e56b0b8540ff10cee34c6ce43bf6.zip |
Don't use property decorator in Product
-rw-r--r-- | gsxws/products.py | 6 |
1 files changed, 0 insertions, 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: |