airflow-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bo...@apache.org
Subject incubator-airflow git commit: [AIRFLOW-XXX] Fix typo in comment
Date Fri, 08 Dec 2017 09:19:14 GMT
Repository: incubator-airflow
Updated Branches:
  refs/heads/master 75eef96af -> f9dcab0fa


[AIRFLOW-XXX] Fix typo in comment

Closes #2850 from MortalViews/fix-typo


Project: http://git-wip-us.apache.org/repos/asf/incubator-airflow/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-airflow/commit/f9dcab0f
Tree: http://git-wip-us.apache.org/repos/asf/incubator-airflow/tree/f9dcab0f
Diff: http://git-wip-us.apache.org/repos/asf/incubator-airflow/diff/f9dcab0f

Branch: refs/heads/master
Commit: f9dcab0fa247b50e6655500f187670e908954149
Parents: 75eef96
Author: Sanjay P <sanjaypillai11@gmail.com>
Authored: Fri Dec 8 10:18:46 2017 +0100
Committer: Bolke de Bruin <bolke@xs4all.nl>
Committed: Fri Dec 8 10:18:54 2017 +0100

----------------------------------------------------------------------
 airflow/models.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-airflow/blob/f9dcab0f/airflow/models.py
----------------------------------------------------------------------
diff --git a/airflow/models.py b/airflow/models.py
index 16fae10..29977f2 100755
--- a/airflow/models.py
+++ b/airflow/models.py
@@ -4681,7 +4681,7 @@ class DagRun(Base, LoggingMixin):
             root_ids = [t.task_id for t in dag.roots]
             roots = [t for t in tis if t.task_id in root_ids]
 
-            # if all roots finished and at least on failed, the run failed
+            # if all roots finished and at least one failed, the run failed
             if (not unfinished_tasks and
                     any(r.state in (State.FAILED, State.UPSTREAM_FAILED) for r in roots)):
                 self.log.info('Marking run %s failed', self)


Mime
View raw message