diff options
author | Vinay Sajip <vinay_sajip@yahoo.co.uk> | 2013-06-15 15:56:28 +0100 |
---|---|---|
committer | Vinay Sajip <vinay_sajip@yahoo.co.uk> | 2013-06-15 15:56:28 +0100 |
commit | c003c86fc22b8d20b81226d1e74c95a5c885e314 (patch) | |
tree | d8d6fbd3f4aa52aa3afc8607c8b9e539b98b7162 | |
parent | 8e657eac1ef02faedca99df319fff6b63f4a4305 (diff) | |
download | external_python_setuptools-c003c86fc22b8d20b81226d1e74c95a5c885e314.tar.gz external_python_setuptools-c003c86fc22b8d20b81226d1e74c95a5c885e314.tar.bz2 external_python_setuptools-c003c86fc22b8d20b81226d1e74c95a5c885e314.zip |
Updated to fix errors on 2.5.
--HG--
branch : single-codebase
-rwxr-xr-x | setuptools/command/easy_install.py | 2 | ||||
-rwxr-xr-x | setuptools/command/install_scripts.py | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/setuptools/command/easy_install.py b/setuptools/command/easy_install.py index f71128b0..cf80926c 100755 --- a/setuptools/command/easy_install.py +++ b/setuptools/command/easy_install.py @@ -800,7 +800,7 @@ Please make the appropriate changes for your system and try again. f = open(target,"w"+mode) f.write(contents) f.close() - chmod(target, 0o777-mask) + chmod(target,0x1FF - mask) # 0777 diff --git a/setuptools/command/install_scripts.py b/setuptools/command/install_scripts.py index 4e6b1a9a..ad522f6c 100755 --- a/setuptools/command/install_scripts.py +++ b/setuptools/command/install_scripts.py @@ -50,5 +50,5 @@ class install_scripts(_install_scripts): f = open(target,"w"+mode) f.write(contents) f.close() - chmod(target, 0o777-mask) + chmod(target,0x1FF - mask) # 0777 |