[
https://issues.apache.org/jira/browse/AIRFLOW-4537?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Jarek Potiuk resolved AIRFLOW-4537.
-----------------------------------
Resolution: Fixed
Fix Version/s: 2.0.0
> 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
> Assignee: Bas Harenslak
> Priority: Major
> Fix For: 2.0.0
>
>
> 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)