airflow-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From criccom...@apache.org
Subject incubator-airflow git commit: [AIRFLOW-1659] Fix invalid obj attribute bug in file_task_handler.py
Date Thu, 28 Sep 2017 22:54:37 GMT
Repository: incubator-airflow
Updated Branches:
  refs/heads/v1-9-test b5d1657e3 -> bee823c6c


[AIRFLOW-1659] Fix invalid obj attribute bug in file_task_handler.py

Closes #2645 from jgao54/fix-file_task_handler-bug


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

Branch: refs/heads/v1-9-test
Commit: bee823c6c6edc48d862324b5cee472b58e344c5f
Parents: b5d1657
Author: Joy Gao <joyg@wepay.com>
Authored: Thu Sep 28 15:53:19 2017 -0700
Committer: Chris Riccomini <criccomini@apache.org>
Committed: Thu Sep 28 15:54:25 2017 -0700

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


http://git-wip-us.apache.org/repos/asf/incubator-airflow/blob/bee823c6/airflow/utils/log/file_task_handler.py
----------------------------------------------------------------------
diff --git a/airflow/utils/log/file_task_handler.py b/airflow/utils/log/file_task_handler.py
index b31c968..6038fbf 100644
--- a/airflow/utils/log/file_task_handler.py
+++ b/airflow/utils/log/file_task_handler.py
@@ -116,7 +116,7 @@ class FileTaskHandler(logging.Handler):
                 except (AirflowConfigException, ValueError):
                     pass
 
-                response = requests.get(url, timeout=self.timeout)
+                response = requests.get(url, timeout=timeout)
 
                 # Check if the resource was properly fetched
                 response.raise_for_status()


Mime
View raw message