Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
Charlie Ernesto committed Apr 9, 2024
1 parent 173bd47 commit cf9a6e5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions servant/service/actions/base.py
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@ def execute_run(self, service):
try:
self.validate()
final_results = self.finalize_results()
except ModelValidationError, err:
except ModelValidationError as err:
raise ActionFieldError(err)

return final_results
Expand Down Expand Up @@ -153,6 +153,6 @@ def is_valid(self):
try:
self.validate()
return True
except ValidationError, err:
except ValidationError as err:
self._errors = err.messages
return False

0 comments on commit cf9a6e5

Please sign in to comment.