aboutsummaryrefslogtreecommitdiffstats
path: root/setuptools/command/easy_install.py
diff options
context:
space:
mode:
authorVinay Sajip <vinay_sajip@yahoo.co.uk>2013-06-15 15:56:28 +0100
committerVinay Sajip <vinay_sajip@yahoo.co.uk>2013-06-15 15:56:28 +0100
commitc003c86fc22b8d20b81226d1e74c95a5c885e314 (patch)
treed8d6fbd3f4aa52aa3afc8607c8b9e539b98b7162 /setuptools/command/easy_install.py
parent8e657eac1ef02faedca99df319fff6b63f4a4305 (diff)
downloadexternal_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
Diffstat (limited to 'setuptools/command/easy_install.py')
-rwxr-xr-xsetuptools/command/easy_install.py2
1 files changed, 1 insertions, 1 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