[ 
https://issues.apache.org/jira/browse/AIRFLOW-4572?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16855514#comment-16855514
 ] 

ASF subversion and git services commented on AIRFLOW-4572:
----------------------------------------------------------

Commit 518d4ab93be00f46c04c6b2608d2363417f81f88 in airflow's branch 
refs/heads/v1-10-test from Philippe Gagnon
[ https://gitbox.apache.org/repos/asf?p=airflow.git;h=518d4ab ]

[AIRFLOW-4572] Rename prepare_classpath() to prepare_syspath() (#5328)


(cherry picked from commit 67263d2e4b9ff703e7a12fc99e1f8d3d53ca22fe)


> 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
>            Priority: Trivial
>             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)

Reply via email to