You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by da...@apache.org on 2017/07/21 21:08:28 UTC
incubator-airflow git commit: [AIRFLOW-1442] Remove extra space from
ignore_all_deps generated command
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 <da...@airbnb.com>
Authored: Fri Jul 21 14:06:29 2017 -0700
Committer: Dan Davydov <da...@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