You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by di...@apache.org on 2020/08/04 15:34:29 UTC

[airflow] branch v1-10-test updated: compat fix for Xcom

This is an automated email from the ASF dual-hosted git repository.

dimberman pushed a commit to branch v1-10-test
in repository https://gitbox.apache.org/repos/asf/airflow.git


The following commit(s) were added to refs/heads/v1-10-test by this push:
     new fa88bf9  compat fix for Xcom
fa88bf9 is described below

commit fa88bf95a337c65aebc8f1b3a91fd41217e2fbe6
Author: Daniel Imberman <da...@gmail.com>
AuthorDate: Tue Aug 4 08:32:55 2020 -0700

    compat fix for Xcom
---
 airflow/configuration.py | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/airflow/configuration.py b/airflow/configuration.py
index 0ff2f31..01ee90f 100644
--- a/airflow/configuration.py
+++ b/airflow/configuration.py
@@ -358,8 +358,9 @@ class AirflowConfigParser(ConfigParser):
         except ImportError as e:
             log.error(e)
             raise AirflowConfigException(
-                f'The object could not be loaded. Please check "{key}" key in "{section}" section. '
-                f'Current value: "{full_qualified_path}".'
+                'The object could not be loaded. Please check "{key}" key in "{section}" section. '
+                'Current value: "{full_qualified_path}".' .format(
+                    key=key, section=section, full_qualified_path=full_qualified_path)
             )
 
     def getboolean(self, section, key, **kwargs):