From 1b63b1954f33bdd1706b0d7186d550407599a5a6 Mon Sep 17 00:00:00 2001 From: Filipp Lepalaan Date: Fri, 7 Jun 2013 17:31:29 +0300 Subject: Fixing stuff --- gsxws/repairs.py | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) (limited to 'gsxws') 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('<>', 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, -- cgit v1.2.3