diff options
Diffstat (limited to 'distutils2/command/install_scripts.py')
| -rw-r--r-- | distutils2/command/install_scripts.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/distutils2/command/install_scripts.py b/distutils2/command/install_scripts.py index 3bed33c..6366be2 100644 --- a/distutils2/command/install_scripts.py +++ b/distutils2/command/install_scripts.py @@ -48,7 +48,7 @@ class install_scripts(Command): if self.dry_run: logger.info("changing mode of %s", file) else: - mode = (os.stat(file).st_mode | 0555) & 07777 + mode = (os.stat(file).st_mode | 0o555) & 0o7777 logger.info("changing mode of %s to %o", file, mode) os.chmod(file, mode) |
