diff options
-rw-r--r-- | git/util.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/git/util.py b/git/util.py index d5939a6f..ef4db04c 100644 --- a/git/util.py +++ b/git/util.py @@ -174,7 +174,7 @@ def assure_directory_exists(path, is_file=False): path = osp.dirname(path) # END handle file if not osp.isdir(path): - os.makedirs(path) + os.makedirs(path, exist_ok=True) return True return False |