summaryrefslogtreecommitdiffstats
path: root/test/sconsign
diff options
context:
space:
mode:
authorWilliam Deegan <bill@baddogconsulting.com>2017-02-28 19:24:48 (GMT)
committerWilliam Deegan <bill@baddogconsulting.com>2017-02-28 19:24:48 (GMT)
commit8814bdd192c273ad9ee87fba6cf9be360335b6d5 (patch)
tree9d5dbad9775600b0dbcf1fe043d88f3bcbf71f25 /test/sconsign
parent390448c9144b27fdb3529aa1c71355d1de0c447d (diff)
downloadSCons-8814bdd192c273ad9ee87fba6cf9be360335b6d5.zip
SCons-8814bdd192c273ad9ee87fba6cf9be360335b6d5.tar.gz
SCons-8814bdd192c273ad9ee87fba6cf9be360335b6d5.tar.bz2
fix octal for py2/3
Diffstat (limited to 'test/sconsign')
-rw-r--r--test/sconsign/nonwritable.py2
1 files changed, 1 insertions, 1 deletions
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)