aboutsummaryrefslogtreecommitdiffstats
path: root/gsxws.py
diff options
context:
space:
mode:
authorFilipp Lepalaan <f@230.to>2013-03-14 18:19:46 +0200
committerFilipp Lepalaan <f@230.to>2013-03-14 18:19:46 +0200
commit162fd1efbae4d344a2a1d776519b558c87cb5db1 (patch)
treedb401e1be3b6e317db3a569a88bc66834bf4a049 /gsxws.py
parentdc707538110ba368c05d2eb560bd1f20fdc3574b (diff)
downloadpy-gsxws-162fd1efbae4d344a2a1d776519b558c87cb5db1.tar.gz
py-gsxws-162fd1efbae4d344a2a1d776519b558c87cb5db1.tar.bz2
py-gsxws-162fd1efbae4d344a2a1d776519b558c87cb5db1.zip
Throw GsxError on Repair.mark_complete()
Diffstat (limited to 'gsxws.py')
-rwxr-xr-xgsxws.py2
1 files changed, 1 insertions, 1 deletions
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)