summaryrefslogtreecommitdiffstats
path: root/Lib/distutils
diff options
context:
space:
mode:
Diffstat (limited to 'Lib/distutils')
-rw-r--r--Lib/distutils/command/install_scripts.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/distutils/command/install_scripts.py b/Lib/distutils/command/install_scripts.py
index 4044ba0..ceece1b 100644
--- a/Lib/distutils/command/install_scripts.py
+++ b/Lib/distutils/command/install_scripts.py
@@ -49,7 +49,7 @@ class install_scripts (Command):
# all the scripts we just installed.
for file in self.get_outputs():
if self.dry_run:
- log.info("changing mode of %s to %o", file, mode)
+ log.info("changing mode of %s", file)
else:
mode = ((os.stat(file)[ST_MODE]) | 0111) & 07777
log.info("changing mode of %s to %o", file, mode)