airflow-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From davy...@apache.org
Subject incubator-airflow git commit: Revert "[AIRFLOW-916] Remove deprecated readfp function"
Date Wed, 01 Mar 2017 21:11:55 GMT
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 <dan.davydov@airbnb.com>
Authored: Wed Mar 1 13:11:25 2017 -0800
Committer: Dan Davydov <dan.davydov@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 (


Mime
View raw message