Fix the misspelling of "except"

Change-Id: I85a40e078d2f5ec017d2aebedf79568de4163e44
This commit is contained in:
lijunjie 2019-01-04 17:55:53 +08:00
parent 4dd6b484d1
commit ecdb9ad345
2 changed files with 2 additions and 2 deletions

View File

@ -246,7 +246,7 @@ class AirflowDbAccess(DbAccess):
def check_dag_run_state(self, dag_id, execution_date, expected_state):
"""
Examines a dag_run for state. Throws execption if it's not right
Examines a dag_run for state. Throws exception if it's not right
"""
dag_run_list = self.get_dag_runs_by_id(
dag_id=dag_id, execution_date=execution_date)

View File

@ -127,7 +127,7 @@ def default_error_serializer(req, resp, exception):
def default_exception_handler(ex, req, resp, params):
"""
Catch-all execption handler for standardized output.
Catch-all exception handler for standardized output.
If this is a standard falcon HTTPError, rethrow it for handling
"""
if isinstance(ex, falcon.HTTPError):