diff options
| author | Tarek Ziade <tarek@ziade.org> | 2010-11-05 02:29:52 +0100 |
|---|---|---|
| committer | Tarek Ziade <tarek@ziade.org> | 2010-11-05 02:29:52 +0100 |
| commit | fc473b39e9789ce7197b60314eb9cef2621d0852 (patch) | |
| tree | 3e30c6ab4a04c35aa928d23faf55d45172a4fe71 /distutils2/command/install_scripts.py | |
| parent | fb36122e28fcda72c672ca4cddcf04b778ce6b8b (diff) | |
| download | disutils2-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.py | 6 |
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): |
