[Python-checkins] distutils2: Lowercase two remaining logging messages, add a TODO
tarek.ziade
python-checkins at python.org
Sun Sep 19 10:20:23 CEST 2010
tarek.ziade pushed 2c353d6b88f9 to distutils2:
http://hg.python.org/distutils2/rev/2c353d6b88f9
changeset: 654:2c353d6b88f9
user: ?ric Araujo <merwok at netwok.org>
date: Wed Aug 25 17:22:17 2010 +0200
summary: Lowercase two remaining logging messages, add a TODO
files: src/distutils2/command/install_distinfo.py
diff --git a/src/distutils2/command/install_distinfo.py b/src/distutils2/command/install_distinfo.py
--- a/src/distutils2/command/install_distinfo.py
+++ b/src/distutils2/command/install_distinfo.py
@@ -78,6 +78,9 @@
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 @@
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)
--
Repository URL: http://hg.python.org/distutils2
More information about the Python-checkins
mailing list