Merge pull request #575 from dod-ccpo/fix-empty-estimate

Handle submitting funding form without csp estimate
This commit is contained in:
patricksmithdds
2019-01-24 09:43:44 -05:00
committed by GitHub
2 changed files with 8 additions and 1 deletions

View File

@@ -88,7 +88,7 @@ class TaskOrder(Base, mixins.TimestampsMixin):
)
elif not new_csp_estimate and self._csp_estimate:
self._csp_estimate = None
else:
elif new_csp_estimate:
raise TypeError("Could not set csp_estimate with invalid type")
@property