aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFilipp Lepalaan <f@230.to>2013-06-07 17:31:29 +0300
committerFilipp Lepalaan <f@230.to>2013-06-07 17:31:29 +0300
commit1b63b1954f33bdd1706b0d7186d550407599a5a6 (patch)
tree7b1c24f9e98e57729a2f26ba435890886207c2ea
parentf6b98ab31f74279c488ba141f830f46296c054dc (diff)
downloadpy-gsxws-1b63b1954f33bdd1706b0d7186d550407599a5a6.tar.gz
py-gsxws-1b63b1954f33bdd1706b0d7186d550407599a5a6.tar.bz2
py-gsxws-1b63b1954f33bdd1706b0d7186d550407599a5a6.zip
Fixing stuff
-rw-r--r--gsxws/repairs.py10
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,