summaryrefslogtreecommitdiff
path: root/src/distutils2/command
diff options
context:
space:
mode:
author?ric Araujo <merwok@netwok.org>2010-08-25 17:22:17 +0200
committer?ric Araujo <merwok@netwok.org>2010-08-25 17:22:17 +0200
commit299720a4ff3ff6b1f5651c5b431d571d0e7cbaec (patch)
tree94bcf2eab18bd0cc6afeb931d06fe47098e08487 /src/distutils2/command
parentb30a9a249e5c8cbe14aeeda13bd6407b4a536467 (diff)
downloaddisutils2-299720a4ff3ff6b1f5651c5b431d571d0e7cbaec.tar.gz
Lowercase two remaining logging messages, add a TODO
Diffstat (limited to 'src/distutils2/command')
-rw-r--r--src/distutils2/command/install_distinfo.py7
1 files changed, 5 insertions, 2 deletions
diff --git a/src/distutils2/command/install_distinfo.py b/src/distutils2/command/install_distinfo.py
index 0eb60c5..64174dd 100644
--- a/src/distutils2/command/install_distinfo.py
+++ b/src/distutils2/command/install_distinfo.py
@@ -78,6 +78,9 @@ class install_distinfo(Command):
self.outputs = []
def run(self):
+ # FIXME dry-run should be used at a finer level, so that people get
+ # useful logging output and can have an idea of what the command would
+ # have done
if not self.dry_run:
target = self.distinfo_dir
@@ -85,9 +88,9 @@ class install_distinfo(Command):
rmtree(target)
elif os.path.exists(target):
self.execute(os.unlink, (self.distinfo_dir,),
- "Removing " + target)
+ "removing " + target)
- self.execute(os.makedirs, (target,), "Creating " + target)
+ self.execute(os.makedirs, (target,), "creating " + target)
metadata_path = os.path.join(self.distinfo_dir, 'METADATA')
log.info('creating %s', metadata_path)