From 7015b0ddcf94b60671ee44078faf7bb55bef3a74 Mon Sep 17 00:00:00 2001
From: Amir MOHAMMADI <amir.mohammadi@idiap.ch>
Date: Thu, 26 Mar 2020 15:46:34 +0100
Subject: [PATCH] Update __init__.py

---
 bob/io/base/__init__.py | 1 +
 1 file changed, 1 insertion(+)

diff --git a/bob/io/base/__init__.py b/bob/io/base/__init__.py
index 5bc81f1..30afaa3 100644
--- a/bob/io/base/__init__.py
+++ b/bob/io/base/__init__.py
@@ -83,6 +83,7 @@ def _is_string(s):
       isinstance(s, (bytes, str))
 
 
+@numpy.deprecate(new_name="os.makedirs(directory, exist_ok=True)")
 def create_directories_safe(directory, dryrun=False):
   """Creates a directory if it does not exists, with concurrent access support.
   This function will also create any parent directories that might be required.
-- 
GitLab