From 3fdbb8f7fa5c84dca9a7ff309d71ae3aeff60009 Mon Sep 17 00:00:00 2001 From: "Jason R. Coombs" Date: Mon, 5 May 2014 03:50:59 -0400 Subject: Use modern syntax for octal values --- 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 c19536bf..ac373193 100755 --- a/setuptools/command/install_scripts.py +++ b/setuptools/command/install_scripts.py @@ -49,4 +49,4 @@ class install_scripts(orig.install_scripts): f = open(target,"w"+mode) f.write(contents) f.close() - chmod(target, 0x1FF-mask) # 0777 + chmod(target, 0o777-mask) -- cgit v1.2.3