diff options
-rwxr-xr-x | Tools/scripts/classfix.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Tools/scripts/classfix.py b/Tools/scripts/classfix.py index df9bed9..9c56a89 100755 --- a/Tools/scripts/classfix.py +++ b/Tools/scripts/classfix.py @@ -137,7 +137,7 @@ def fix(filename): # First copy the file's mode to the temp file try: statbuf = posix.stat(filename) - posix.chmod(tempname, statbuf[ST_MODE] & 0x7777) + posix.chmod(tempname, statbuf[ST_MODE] & 07777) except posix.error, msg: err(tempname + ': warning: chmod failed (' + `msg` + ')\n') # Then make a backup of the original file as filename~ |