airflow-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From davy...@apache.org
Subject incubator-airflow git commit: [AIRFLOW-1442] Remove extra space from ignore_all_deps generated command
Date Fri, 21 Jul 2017 21:08:28 GMT
Repository: incubator-airflow
Updated Branches:
  refs/heads/master 3547cbffd -> aa64f370b


[AIRFLOW-1442] Remove extra space from ignore_all_deps generated command

Fix extra whitespace in the ignore_all_deps arg
which was causing commands to fail.

Closes #2468 from aoen/ddavydov--
fix_ignore_all_deps_extra_space


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

Branch: refs/heads/master
Commit: aa64f370b28935a9fe0e692864a94fca89113bfe
Parents: 3547cbf
Author: Dan Davydov <dan.davydov@airbnb.com>
Authored: Fri Jul 21 14:06:29 2017 -0700
Committer: Dan Davydov <dan.davydov@airbnb.com>
Committed: Fri Jul 21 14:06:32 2017 -0700

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


http://git-wip-us.apache.org/repos/asf/incubator-airflow/blob/aa64f370/airflow/models.py
----------------------------------------------------------------------
diff --git a/airflow/models.py b/airflow/models.py
index c1fd4a3..d1f8e59 100755
--- a/airflow/models.py
+++ b/airflow/models.py
@@ -934,7 +934,7 @@ class TaskInstance(Base):
         cmd.extend(["--mark_success"]) if mark_success else None
         cmd.extend(["--pickle", str(pickle_id)]) if pickle_id else None
         cmd.extend(["--job_id", str(job_id)]) if job_id else None
-        cmd.extend(["-A "]) if ignore_all_deps else None
+        cmd.extend(["-A"]) if ignore_all_deps else None
         cmd.extend(["-i"]) if ignore_task_deps else None
         cmd.extend(["-I"]) if ignore_depends_on_past else None
         cmd.extend(["--force"]) if ignore_ti_state else None


Mime
View raw message