summaryrefslogtreecommitdiff
path: root/distutils2/command/install_scripts.py
diff options
context:
space:
mode:
authorTarek Ziade <tarek@ziade.org>2010-11-05 02:29:52 +0100
committerTarek Ziade <tarek@ziade.org>2010-11-05 02:29:52 +0100
commitfc473b39e9789ce7197b60314eb9cef2621d0852 (patch)
tree3e30c6ab4a04c35aa928d23faf55d45172a4fe71 /distutils2/command/install_scripts.py
parentfb36122e28fcda72c672ca4cddcf04b778ce6b8b (diff)
downloaddisutils2-fc473b39e9789ce7197b60314eb9cef2621d0852.tar.gz
finished the removal of the log module
Diffstat (limited to 'distutils2/command/install_scripts.py')
-rw-r--r--distutils2/command/install_scripts.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/distutils2/command/install_scripts.py b/distutils2/command/install_scripts.py
index 4228652..c0b35b1 100644
--- a/distutils2/command/install_scripts.py
+++ b/distutils2/command/install_scripts.py
@@ -8,7 +8,7 @@ Python scripts."""
import os
from distutils2.command.cmd import Command
-from distutils2 import log
+from distutils2 import logger
from stat import ST_MODE
class install_scripts (Command):
@@ -46,10 +46,10 @@ 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", file)
+ logger.info("changing mode of %s", file)
else:
mode = ((os.stat(file)[ST_MODE]) | 0555) & 07777
- log.info("changing mode of %s to %o", file, mode)
+ logger.info("changing mode of %s to %o", file, mode)
os.chmod(file, mode)
def get_inputs (self):