Skip to content

Commit 6093880

Browse files
author
Vladimir Kotal
authored
use os.makedirs()
fixes #2439
1 parent 2af09da commit 6093880

File tree

1 file changed

+1
-1
lines changed
  • opengrok-tools/src/main/python/opengrok_tools/utils

1 file changed

+1
-1
lines changed

opengrok-tools/src/main/python/opengrok_tools/utils/utils.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ def check_create_dir(logger, path):
4040
"""
4141
if not os.path.isdir(path):
4242
try:
43-
os.mkdirs(path)
43+
os.makedirs(path)
4444
except OSError:
4545
logger.error("cannot create {} directory".format(path))
4646
sys.exit(1)

0 commit comments

Comments
 (0)