You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by cr...@apache.org on 2017/09/28 22:53:26 UTC
incubator-airflow git commit: [AIRFLOW-1659] Fix invalid obj
attribute bug in file_task_handler.py
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 <jo...@wepay.com>
Authored: Thu Sep 28 15:53:19 2017 -0700
Committer: Chris Riccomini <cr...@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()