1
0
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:
Thomas Nagy 2015-06-26 20:17:06 +02:00 committed by Andrew Bartlett
parent bcf5f45d87
commit da9eee80e4

View File

@ -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):