Simplify return value to "True".

It is fine to return True here because, in the event that the directory
cannot be created, an exception can be raised anyway.
This commit is contained in:
Derek Maciel 2016-08-05 00:00:21 -04:00 committed by rallytime
parent 13022c5cc4
commit 0e1ebea5a4

View file

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