aboutsummaryrefslogtreecommitdiffstats
path: root/gsxws/repairs.py
diff options
context:
space:
mode:
authorFilipp Lepalaan <f@230.to>2013-06-06 14:40:41 +0300
committerFilipp Lepalaan <f@230.to>2013-06-06 14:40:41 +0300
commit716a740900dbee25df4b272324c1465969c35789 (patch)
treecec53a5efd3765a16a364967e1d736c7926d9a0d /gsxws/repairs.py
parent9fa80da9c46ebfcd8253af3e21c6ca1ea42f5add (diff)
downloadpy-gsxws-716a740900dbee25df4b272324c1465969c35789.tar.gz
py-gsxws-716a740900dbee25df4b272324c1465969c35789.tar.bz2
py-gsxws-716a740900dbee25df4b272324c1465969c35789.zip
Use hasattr for CA dispatchID check
Diffstat (limited to 'gsxws/repairs.py')
-rw-r--r--gsxws/repairs.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/gsxws/repairs.py b/gsxws/repairs.py
index b22676c..407fc25 100644
--- a/gsxws/repairs.py
+++ b/gsxws/repairs.py
@@ -224,7 +224,7 @@ class CarryInRepair(Repair):
"""
self._namespace = "asp:"
- if not getattr(self, "repairConfirmationNumber"):
+ if not hasattr(self, "repairConfirmationNumber"):
self.repairConfirmationNumber = self.dispatchId
del(self.dispatchId)