diff options
author | Filipp Lepalaan <f@230.to> | 2013-06-07 10:42:27 +0300 |
---|---|---|
committer | Filipp Lepalaan <f@230.to> | 2013-06-07 10:42:27 +0300 |
commit | f6b98ab31f74279c488ba141f830f46296c054dc (patch) | |
tree | 623573803c2533422d3cf14c1d96d038996c7467 /gsxws/repairs.py | |
parent | 9b811ed370c6c11cca946a99c0734e9a009b5d5c (diff) | |
download | py-gsxws-f6b98ab31f74279c488ba141f830f46296c054dc.tar.gz py-gsxws-f6b98ab31f74279c488ba141f830f46296c054dc.tar.bz2 py-gsxws-f6b98ab31f74279c488ba141f830f46296c054dc.zip |
Fix CA namespace
Diffstat (limited to 'gsxws/repairs.py')
-rw-r--r-- | gsxws/repairs.py | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/gsxws/repairs.py b/gsxws/repairs.py index 717d8f1..440054d 100644 --- a/gsxws/repairs.py +++ b/gsxws/repairs.py @@ -197,13 +197,13 @@ class CarryInRepair(Repair): >>> CarryInRepair(requestReviewByApple=True).requestReviewByApple 'Y' """ - _namespace = "emea:" def create(self): """ GSX validates the information and if all of the validations go through, it obtains a quote for the repair and creates the carry-in repair. """ + self._namespace = "emea:" return self._submit("repairData", "CreateCarryIn", "repairConfirmation") def update(self, newdata): @@ -240,10 +240,8 @@ class IndirectOnsiteRepair(Repair): Once the repair is submitted, it is assigned a confirmation number, which is a reference number to identify the repair. """ - - _namespace = "asp:" - def create(self): + self._namespace = "asp:" if hasattr(self, "shipTo"): # Carry-In and OnSite use different field names! self.shippingLocation = self.shipTo del(self._data['shipTo']) |