From f6b98ab31f74279c488ba141f830f46296c054dc Mon Sep 17 00:00:00 2001 From: Filipp Lepalaan Date: Fri, 7 Jun 2013 10:42:27 +0300 Subject: Fix CA namespace --- gsxws/repairs.py | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) (limited to 'gsxws') 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']) -- cgit v1.2.3