You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by GitBox <gi...@apache.org> on 2020/05/19 21:21:01 UTC

[GitHub] [airflow] ForestMars edited a comment on issue #8647: Import fails when dags subfolder and plugins subfolder have the same name

ForestMars edited a comment on issue #8647:
URL: https://github.com/apache/airflow/issues/8647#issuecomment-631088870


   >  Airflow adds an additional 3 directories to the variable sys.path.
   > 
   > conf.get('core', 'dags_folder')
   > conf.get('core', 'airflow_home')
   > conf.get('core', 'plugins_folder')
   
   Testing this with a clean installation of 1.10.10, it is adding `dags_folder` and `plugns_folder` to sys.path as expected, however instead of adding `airflow_home` it is adding `airflow_home/config`
   
   **Is this correct?** It is surprising behavior and additionally can cause strange path parsing errors when there are other files alongside airflow.cfg in airflow_home/config. 
   


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org