From 162fd1efbae4d344a2a1d776519b558c87cb5db1 Mon Sep 17 00:00:00 2001 From: Filipp Lepalaan Date: Thu, 14 Mar 2013 18:19:46 +0200 Subject: Throw GsxError on Repair.mark_complete() --- gsxws.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gsxws.py b/gsxws.py index 0685c62..e399cfa 100755 --- a/gsxws.py +++ b/gsxws.py @@ -604,9 +604,9 @@ class Repair(GsxObject): """ dt = self._make_type('ns1:markRepairCompleteRequestType') dt.repairConfirmationNumbers = [self.data['dispatchId']] - result = CLIENT.service.MarkRepairComplete(dt) try: + result = CLIENT.service.MarkRepairComplete(dt) return result.repairConfirmationNumbers except suds.WebFault, e: raise GsxError(fault=e) -- cgit v1.2.3