summaryrefslogtreecommitdiff
path: root/distutils2/command/install_scripts.py
diff options
context:
space:
mode:
Diffstat (limited to 'distutils2/command/install_scripts.py')
-rw-r--r--distutils2/command/install_scripts.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/distutils2/command/install_scripts.py b/distutils2/command/install_scripts.py
index e8cb332..3bed33c 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 | 00555) & 07777
+ mode = (os.stat(file).st_mode | 0555) & 07777
logger.info("changing mode of %s to %o", file, mode)
os.chmod(file, mode)