return value for mkdir instead of None

This commit is contained in:
Derek Maciel 2016-08-03 19:29:16 -04:00 committed by rallytime
parent 1a4833b3a1
commit 13022c5cc4

View file

@ -4586,6 +4586,8 @@ def mkdir(dir_path,
# to follow the principal of least surprise method.
makedirs_perms(directory, user, group, mode)
return os.path.isdir(directory)
def makedirs_(path,
user=None,