aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFilipp Lepalaan <f@230.to>2013-06-27 00:11:12 +0300
committerFilipp Lepalaan <f@230.to>2013-06-27 00:11:12 +0300
commit8ce0730a4439d1f0240983301d4706bb3a4292c7 (patch)
tree7206ab3e83336cd200dfd8cc0d3da2f92c937c41
parenta1d129a4aa16ea3946ad968dac35cf96d7cc0207 (diff)
downloadpy-gsxws-8ce0730a4439d1f0240983301d4706bb3a4292c7.tar.gz
py-gsxws-8ce0730a4439d1f0240983301d4706bb3a4292c7.tar.bz2
py-gsxws-8ce0730a4439d1f0240983301d4706bb3a4292c7.zip
Unset dispatchId from _data
-rw-r--r--gsxws/repairs.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/gsxws/repairs.py b/gsxws/repairs.py
index 9f91600..4d5abb1 100644
--- a/gsxws/repairs.py
+++ b/gsxws/repairs.py
@@ -84,7 +84,7 @@ class Repair(GsxObject):
self.partInfo = parts
if hasattr(self, "dispatchId"):
self.repairConfirmationNumber = self.dispatchId
- del self.dispatchId
+ del self._data['dispatchId']
return self._submit("repairData", "UpdateSerialNumber", "repairConfirmation")
@@ -105,7 +105,7 @@ class Repair(GsxObject):
self.serialNumber = sn
if hasattr(self, "dispatchId"):
self.repairConfirmationNumber = self.dispatchId
- del self.dispatchId
+ del self._data['dispatchId']
return self._submit("UpdateKGBSerialNumberRequest", "UpdateKGBSerialNumber",
"UpdateKGBSerialNumberResponse")