Browse Source

Fix the misspelling of "except"

Change-Id: I85a40e078d2f5ec017d2aebedf79568de4163e44
changes/82/628382/1
lijunjie 5 months ago
parent
commit
ecdb9ad345

+ 1
- 1
src/bin/shipyard_airflow/shipyard_airflow/db/airflow_db.py View File

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

+ 1
- 1
src/bin/shipyard_airflow/shipyard_airflow/errors.py View File

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

Loading…
Cancel
Save