mirror of
https://github.com/samba-team/samba.git
synced 2025-03-24 10:50:22 +03:00
third_party:waf: fix a mis-merge - Utils.check_dir issue
Signed-off-by: Thomas Nagy <tnagy@waf.io> Reviewed-by: Michael Adam <obnox@samba.org> Reviewed-by: Andrew Bartlett <abartlet@samba.org>
This commit is contained in:
parent
bcf5f45d87
commit
da9eee80e4
3
third_party/waf/wafadmin/Utils.py
vendored
3
third_party/waf/wafadmin/Utils.py
vendored
@ -455,8 +455,7 @@ def check_dir(path):
|
||||
os.makedirs(path)
|
||||
except OSError, e:
|
||||
if not os.path.isdir(path):
|
||||
raise Errors.WafError('Cannot create the folder %r' % path, ex=e)
|
||||
|
||||
raise WafError("Cannot create the folder '%s' (error: %s)" % (path, e))
|
||||
|
||||
def cmd_output(cmd, **kw):
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user