Bas Harenslak created AIRFLOW-4537:
--------------------------------------

             Summary: Cleanup the mkdir_p function
                 Key: AIRFLOW-4537
                 URL: https://issues.apache.org/jira/browse/AIRFLOW-4537
             Project: Apache Airflow
          Issue Type: Sub-task
            Reporter: Bas Harenslak


configuration.mkdir_p seems to come straight from 
[https://stackoverflow.com/a/600612.]

Now with Python 3.5, we have this functionality native. From the same post:

{{pathlib.Path("/tmp/path/to/desired/directory").mkdir(parents=True, 
exist_ok=True)}}

Remove the custom mkdir_p function and replace by pathlib. Will also resolve 
some imports to configuration, just for mkdir_p.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to