diff options
Diffstat (limited to 'Tools/scripts/fixcid.py')
| -rwxr-xr-x | Tools/scripts/fixcid.py | 2 | 
1 files changed, 1 insertions, 1 deletions
diff --git a/Tools/scripts/fixcid.py b/Tools/scripts/fixcid.py index 29e0e1030c..d4343455a7 100755 --- a/Tools/scripts/fixcid.py +++ b/Tools/scripts/fixcid.py @@ -174,7 +174,7 @@ def fix(filename):      # First copy the file's mode to the temp file      try:          statbuf = os.stat(filename) -        os.chmod(tempname, statbuf[ST_MODE] & 07777) +        os.chmod(tempname, statbuf[ST_MODE] & 0o7777)      except os.error as msg:          err(tempname + ': warning: chmod failed (' + str(msg) + ')\n')      # Then make a backup of the original file as filename~  | 
