From 151b3893395bae90f5795b50e27812d30403b91e Mon Sep 17 00:00:00 2001 From: Filipp Lepalaan Date: Thu, 18 Jul 2013 15:24:13 +0300 Subject: Correctly unset dispatchId in Repair.update() --- gsxws/repairs.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'gsxws') 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) -- cgit v1.2.3