diff options
| author | Alexandru Plugaru <alexandru.plugaru@gmail.com> | 2011-08-30 09:30:47 +0200 |
|---|---|---|
| committer | Alexandru Plugaru <alexandru.plugaru@gmail.com> | 2011-08-30 09:30:47 +0200 |
| commit | 6d6499fd8bc272709671a1bdb34c1e91dd1898cf (patch) | |
| tree | 5e51742b81b00a6e81cd34dd205d4aed0fa15845 /distutils2/command/install_scripts.py | |
| parent | e847e337597668638ebd94c652b53d7b28a1e6b1 (diff) | |
| download | disutils2-6d6499fd8bc272709671a1bdb34c1e91dd1898cf.tar.gz | |
Fixed a python2.4 syntax errors.
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 6366be2..e8cb332 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 | 0o555) & 0o7777 + mode = (os.stat(file).st_mode | 00555) & 07777 logger.info("changing mode of %s to %o", file, mode) os.chmod(file, mode) |
