From c003c86fc22b8d20b81226d1e74c95a5c885e314 Mon Sep 17 00:00:00 2001 From: Vinay Sajip Date: Sat, 15 Jun 2013 15:56:28 +0100 Subject: Updated to fix errors on 2.5. --HG-- branch : single-codebase --- setuptools/command/install_scripts.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'setuptools/command/install_scripts.py') 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 -- cgit v1.2.3