diff options
author | Filipp Lepalaan <filipp@mac.com> | 2014-03-07 11:16:21 +0200 |
---|---|---|
committer | Filipp Lepalaan <filipp@mac.com> | 2014-03-07 11:16:21 +0200 |
commit | 79e4628a53f1cac06f6426b301dafa1351412702 (patch) | |
tree | ae04368811a29f30b1d8b9298abcfcd2cd471fbf /gsxws/products.py | |
parent | 187735f29c43e5356b8d153f7db82e05d2440d60 (diff) | |
download | py-gsxws-79e4628a53f1cac06f6426b301dafa1351412702.tar.gz py-gsxws-79e4628a53f1cac06f6426b301dafa1351412702.tar.bz2 py-gsxws-79e4628a53f1cac06f6426b301dafa1351412702.zip |
Added timestamp datatype, more tests
Diffstat (limited to 'gsxws/products.py')
-rw-r--r-- | gsxws/products.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gsxws/products.py b/gsxws/products.py index a9073d6..5b58a23 100644 --- a/gsxws/products.py +++ b/gsxws/products.py @@ -81,7 +81,7 @@ class Product(object): if date_received: self._gsx.unitReceivedDate = date_received - + self._gsx._submit("unitDetail", "WarrantyStatus", "warrantyDetailInfo") self.warrantyDetails = self._gsx._req.objects self.imageURL = self.warrantyDetails.imageURL @@ -186,7 +186,7 @@ class Product(object): @property def is_valid(self): - return self.is_iphone or self.is_ipad or self.is_mac + return self.is_ios or self.is_mac @property def has_warranty(self): |