aboutsummaryrefslogtreecommitdiffstats
path: root/gsxws/repairs.py
diff options
context:
space:
mode:
authorFilipp Lepalaan <f@230.to>2013-06-09 11:38:51 +0300
committerFilipp Lepalaan <f@230.to>2013-06-09 11:38:51 +0300
commitf454cc6167cd7d91297d6b24187193888ed719ee (patch)
tree410974d475d4effc2a3635db7c2e4fa4a895c388 /gsxws/repairs.py
parent1b63b1954f33bdd1706b0d7186d550407599a5a6 (diff)
downloadpy-gsxws-f454cc6167cd7d91297d6b24187193888ed719ee.tar.gz
py-gsxws-f454cc6167cd7d91297d6b24187193888ed719ee.tar.bz2
py-gsxws-f454cc6167cd7d91297d6b24187193888ed719ee.zip
Added xmltodict.py
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):
"""