From 8814bdd192c273ad9ee87fba6cf9be360335b6d5 Mon Sep 17 00:00:00 2001 From: William Deegan Date: Tue, 28 Feb 2017 11:24:48 -0800 Subject: fix octal for py2/3 --- test/sconsign/nonwritable.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/sconsign/nonwritable.py b/test/sconsign/nonwritable.py index 5ae55bb..6f12f18 100644 --- a/test/sconsign/nonwritable.py +++ b/test/sconsign/nonwritable.py @@ -59,7 +59,7 @@ def build2(target, source, env): import os.path open(str(target[0]), 'wb').write(open(str(source[0]), 'rb').read()) dir, file = os.path.split(str(target[0])) - os.chmod(dir, 0555) + os.chmod(dir, 0o555) return None B1 = Builder(action = build1) -- cgit v0.12