[
https://issues.apache.org/jira/browse/AIRFLOW-4537?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16843506#comment-16843506
]
ASF subversion and git services commented on AIRFLOW-4537:
----------------------------------------------------------
Commit 7ecdef7d86bd53b94a75445e39093aff063688e8 in airflow's branch
refs/heads/master from Bas Harenslak
[ https://gitbox.apache.org/repos/asf?p=airflow.git;h=7ecdef7 ]
[AIRFLOW-4537] Remove the mkdir_p function in favour of native Python pathlib
(#5301)
> 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
>
> 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)