diff options
author | Filipp Lepalaan <f@230.to> | 2013-06-06 14:40:41 +0300 |
---|---|---|
committer | Filipp Lepalaan <f@230.to> | 2013-06-06 14:40:41 +0300 |
commit | 716a740900dbee25df4b272324c1465969c35789 (patch) | |
tree | cec53a5efd3765a16a364967e1d736c7926d9a0d /gsxws | |
parent | 9fa80da9c46ebfcd8253af3e21c6ca1ea42f5add (diff) | |
download | py-gsxws-716a740900dbee25df4b272324c1465969c35789.tar.gz py-gsxws-716a740900dbee25df4b272324c1465969c35789.tar.bz2 py-gsxws-716a740900dbee25df4b272324c1465969c35789.zip |
Use hasattr for CA dispatchID check
Diffstat (limited to 'gsxws')
-rw-r--r-- | gsxws/repairs.py | 2 |
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) |