Repository: incubator-airflow
Updated Branches:
  refs/heads/master b3e985a31 -> a1b2c0feb


[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/a1b2c0fe
Tree: http://git-wip-us.apache.org/repos/asf/incubator-airflow/tree/a1b2c0fe
Diff: http://git-wip-us.apache.org/repos/asf/incubator-airflow/diff/a1b2c0fe

Branch: refs/heads/master
Commit: a1b2c0feb01f0891331500e94bb3d08fee1947f8
Parents: b3e985a
Author: Joy Gao <j...@wepay.com>
Authored: Thu Sep 28 15:53:19 2017 -0700
Committer: Chris Riccomini <criccom...@apache.org>
Committed: Thu Sep 28 15:53:19 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/a1b2c0fe/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()

Reply via email to