diff options
-rw-r--r-- | gsxws/repairs.py | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/gsxws/repairs.py b/gsxws/repairs.py index 440054d..b8445db 100644 --- a/gsxws/repairs.py +++ b/gsxws/repairs.py @@ -161,18 +161,21 @@ class Repair(GsxObject): """ self._namespace = "core:" details = self._submit("RepairDetailsRequest", "RepairDetails", "lookupResponseData") - + #self.parts = [] +""" # fix tracking URL if available for i, p in enumerate(details.partsInfo): + print p try: url = re.sub('<<TRKNO>>', p.deliveryTrackingNumber, p.carrierURL) - details.partsInfo[i].carrierURL = url + #details.partsInfo[i].carrierURL = url + #self.parts.append(p) except AttributeError: pass self.details = details return details - +""" class CannotDuplicateRepair(Repair): """ @@ -197,7 +200,6 @@ class CarryInRepair(Repair): >>> CarryInRepair(requestReviewByApple=True).requestReviewByApple 'Y' """ - def create(self): """ GSX validates the information and if all of the validations go through, |