aboutsummaryrefslogtreecommitdiffstats
path: root/gsxws/repairs.py
diff options
context:
space:
mode:
Diffstat (limited to 'gsxws/repairs.py')
-rw-r--r--gsxws/repairs.py9
1 files changed, 3 insertions, 6 deletions
diff --git a/gsxws/repairs.py b/gsxws/repairs.py
index b8445db..3461092 100644
--- a/gsxws/repairs.py
+++ b/gsxws/repairs.py
@@ -161,21 +161,18 @@ 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
- #self.parts.append(p)
+ details.partsInfo[i].carrierURL = url
except AttributeError:
pass
self.details = details
return details
-"""
+
class CannotDuplicateRepair(Repair):
"""