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-1799] Fix logging line which raises errors
Date Fri, 10 Nov 2017 07:52:41 GMT
Repository: incubator-airflow
Updated Branches:
  refs/heads/v1-9-test 9fd765dc0 -> a8f3efa99


[AIRFLOW-1799] Fix logging line which raises errors

Closes #2777 from ryancbuckley/log-syntax-fix

(cherry picked from commit f14f8558be08b8175c0f88f8cf02be3e7583151f)
Signed-off-by: Bolke de Bruin <bolke@xs4all.nl>


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

Branch: refs/heads/v1-9-test
Commit: a8f3efa9929f17c913c13c4a0e1b02f7c45c4a64
Parents: 9fd765d
Author: Ryan Buckley <ryan.buckley@bluecore.com>
Authored: Fri Nov 10 08:52:21 2017 +0100
Committer: Bolke de Bruin <bolke@xs4all.nl>
Committed: Fri Nov 10 08:52:37 2017 +0100

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


http://git-wip-us.apache.org/repos/asf/incubator-airflow/blob/a8f3efa9/airflow/models.py
----------------------------------------------------------------------
diff --git a/airflow/models.py b/airflow/models.py
index b4b2325..76f879c 100755
--- a/airflow/models.py
+++ b/airflow/models.py
@@ -2161,7 +2161,7 @@ class BaseOperator(LoggingMixin):
 
         if schedule_interval:
             self.log.warning(
-                "schedule_interval is used for {}, though it has "
+                "schedule_interval is used for %s, though it has "
                 "been deprecated as a task parameter, you need to "
                 "specify it as a DAG parameter instead",
                 self


Mime
View raw message