From 8ce0730a4439d1f0240983301d4706bb3a4292c7 Mon Sep 17 00:00:00 2001 From: Filipp Lepalaan Date: Thu, 27 Jun 2013 00:11:12 +0300 Subject: Unset dispatchId from _data --- gsxws/repairs.py | 4 ++-- 1 file 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") -- cgit v1.2.3