aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFilipp Lepalaan <f@230.to>2013-07-18 15:24:13 +0300
committerFilipp Lepalaan <f@230.to>2013-07-18 15:24:13 +0300
commit151b3893395bae90f5795b50e27812d30403b91e (patch)
tree381c65427c9a75b5a72d4cc2d1a47e6be504dd81
parent8638ae60d63e3978f122bc22b6fbc3223dd7dbc1 (diff)
downloadpy-gsxws-151b3893395bae90f5795b50e27812d30403b91e.tar.gz
py-gsxws-151b3893395bae90f5795b50e27812d30403b91e.tar.bz2
py-gsxws-151b3893395bae90f5795b50e27812d30403b91e.zip
Correctly unset dispatchId in Repair.update()
-rw-r--r--gsxws/repairs.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/gsxws/repairs.py b/gsxws/repairs.py
index 525341d..be01a1b 100644
--- a/gsxws/repairs.py
+++ b/gsxws/repairs.py
@@ -230,7 +230,7 @@ class CarryInRepair(Repair):
if not hasattr(self, "repairConfirmationNumber"):
self.repairConfirmationNumber = self.dispatchId
- del self.dispatchId
+ del self._data['dispatchId']
# Merge old and new data (old data should have Dispatch ID)
self._data.update(newdata)