diff options
author | William Deegan <bill@baddogconsulting.com> | 2017-02-28 11:24:48 -0800 |
---|---|---|
committer | William Deegan <bill@baddogconsulting.com> | 2017-02-28 11:24:48 -0800 |
commit | 2917c08a310d1759b549faba9201bb0e91ff1c77 (patch) | |
tree | 9d5dbad9775600b0dbcf1fe043d88f3bcbf71f25 /test/sconsign/nonwritable.py | |
parent | 39a6e4b9ea6fd07e6cc60ac46893cea9f822a3c5 (diff) | |
download | scons-2917c08a310d1759b549faba9201bb0e91ff1c77.tar.gz |
fix octal for py2/3
Diffstat (limited to 'test/sconsign/nonwritable.py')
-rw-r--r-- | test/sconsign/nonwritable.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/sconsign/nonwritable.py b/test/sconsign/nonwritable.py index 5ae55bbc..6f12f18e 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) |