From aa64f370b28935a9fe0e692864a94fca89113bfe Mon Sep 17 00:00:00 2001 From: Dan Davydov Date: Fri, 21 Jul 2017 14:06:29 -0700 Subject: [PATCH] [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 --- airflow/models.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/airflow/models.py b/airflow/models.py index c1fd4a3e86225..d1f8e59fe3430 100755 --- a/airflow/models.py +++ b/airflow/models.py @@ -934,7 +934,7 @@ def generate_command(dag_id, 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