You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by da...@apache.org on 2017/03/01 21:11:55 UTC

incubator-airflow git commit: Revert "[AIRFLOW-916] Remove deprecated readfp function"

Repository: incubator-airflow
Updated Branches:
  refs/heads/master a700cd8d5 -> 7d95a0dca


Revert "[AIRFLOW-916] Remove deprecated readfp function"

This reverts commit ef6dd1b29b794c5e0fd4f2bc8422a386395950f5 which
broke webservers.


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

Branch: refs/heads/master
Commit: 7d95a0dca06505a224e43aa8f767ce8b7d15e99e
Parents: a700cd8
Author: Dan Davydov <da...@airbnb.com>
Authored: Wed Mar 1 13:11:25 2017 -0800
Committer: Dan Davydov <da...@airbnb.com>
Committed: Wed Mar 1 13:11:32 2017 -0800

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


http://git-wip-us.apache.org/repos/asf/incubator-airflow/blob/7d95a0dc/airflow/configuration.py
----------------------------------------------------------------------
diff --git a/airflow/configuration.py b/airflow/configuration.py
index d68b64b..cfccbe9 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.read_file(StringIO.StringIO(string))
+            self.readfp(StringIO.StringIO(string))
 
     def _validate(self):
         if (