You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by "Philippe Gagnon (JIRA)" <ji...@apache.org> on 2019/05/26 19:37:00 UTC
[jira] [Created] (AIRFLOW-4572) Rename prepare_classpath() to
prepare_syspath() in settings.py
Philippe Gagnon created AIRFLOW-4572:
----------------------------------------
Summary: Rename prepare_classpath() to prepare_syspath() in settings.py
Key: AIRFLOW-4572
URL: https://issues.apache.org/jira/browse/AIRFLOW-4572
Project: Apache Airflow
Issue Type: Improvement
Components: core
Affects Versions: 1.10.3
Reporter: Philippe Gagnon
Assignee: Philippe Gagnon
Fix For: 1.10.4
{settings.py} currently defines a \{prepare_classpath()} function that ensures that certain subfolders in \{AIRFLOW_HOME} are added to \{sys.path}. The function's naming seems borrowed from Java, and thus could be improved by renaming it to \{prepare_syspath()} which is the equivalent Python concept.
This appears to be an internal API that is only used in \{settings.py} itself, so the change shouldn't have any impact.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)