Repository: incubator-airflow Updated Branches: refs/heads/master 670658f30 -> 1bf541180
[AIRFLOW-2048] Fix task instance failure string formatting Closes #2990 from AetherUnbound/bugfix/job-error- collection Project: http://git-wip-us.apache.org/repos/asf/incubator-airflow/repo Commit: http://git-wip-us.apache.org/repos/asf/incubator-airflow/commit/1bf54118 Tree: http://git-wip-us.apache.org/repos/asf/incubator-airflow/tree/1bf54118 Diff: http://git-wip-us.apache.org/repos/asf/incubator-airflow/diff/1bf54118 Branch: refs/heads/master Commit: 1bf5411808fc54fea613b5e27bd72fed9afdc6f5 Parents: 670658f Author: Matthew Bowden <bowd...@spu.edu> Authored: Mon Feb 5 13:39:41 2018 +0100 Committer: Bolke de Bruin <bo...@xs4all.nl> Committed: Mon Feb 5 13:39:41 2018 +0100 ---------------------------------------------------------------------- airflow/jobs.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/incubator-airflow/blob/1bf54118/airflow/jobs.py ---------------------------------------------------------------------- diff --git a/airflow/jobs.py b/airflow/jobs.py index 1b5e661..ccb22cb 100644 --- a/airflow/jobs.py +++ b/airflow/jobs.py @@ -2312,7 +2312,7 @@ class BackfillJob(BaseJob): if ti_status.failed: err += ( "---------------------------------------------------\n" - "Some task instances failed:\n%s\n".format(ti_status.failed)) + "Some task instances failed:\n{}\n".format(ti_status.failed)) if ti_status.deadlocked: err += ( '---------------------------------------------------\n'