fixed --make-waf with python3

This commit is contained in:
Syl 2014-07-06 17:41:54 +02:00
parent ffc07831cc
commit 2db34905bd
1 changed files with 1 additions and 1 deletions

View File

@ -954,7 +954,7 @@ class InstallContext(BuildContext):
# Give best attempt at making destination overwritable,
# like the 'install' utility used by 'make install' does.
try:
os.chmod(tgt, 0644 | stat.S_IMODE(os.stat(tgt).st_mode))
os.chmod(tgt, Utils.O644 | stat.S_IMODE(os.stat(tgt).st_mode))
except (OSError, IOError):
pass