Repository: incubator-airflow Updated Branches: refs/heads/master 4f52db317 -> ef6dd1b29
[AIRFLOW-916] Remove deprecated readfp function ConfigParser.readfp() is deprecated in favor of read_file() Closes #2108 from jlowin/parser-deprecation Project: http://git-wip-us.apache.org/repos/asf/incubator-airflow/repo Commit: http://git-wip-us.apache.org/repos/asf/incubator-airflow/commit/ef6dd1b2 Tree: http://git-wip-us.apache.org/repos/asf/incubator-airflow/tree/ef6dd1b2 Diff: http://git-wip-us.apache.org/repos/asf/incubator-airflow/diff/ef6dd1b2 Branch: refs/heads/master Commit: ef6dd1b29b794c5e0fd4f2bc8422a386395950f5 Parents: 4f52db3 Author: Jeremiah Lowin <[email protected]> Authored: Sun Feb 26 17:34:41 2017 -0500 Committer: Jeremiah Lowin <[email protected]> Committed: Sun Feb 26 17:34:41 2017 -0500 ---------------------------------------------------------------------- airflow/configuration.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/incubator-airflow/blob/ef6dd1b2/airflow/configuration.py ---------------------------------------------------------------------- diff --git a/airflow/configuration.py b/airflow/configuration.py index cfccbe9..d68b64b 100644 --- a/airflow/configuration.py +++ b/airflow/configuration.py @@ -545,7 +545,7 @@ class AirflowConfigParser(ConfigParser): # Python 2 requires StringIO buffer else: import StringIO - self.readfp(StringIO.StringIO(string)) + self.read_file(StringIO.StringIO(string)) def _validate(self): if (
