diff options
| author | Jeremy Kloth <jeremy.kloth@gmail.com> | 2010-07-08 10:26:49 -0600 |
|---|---|---|
| committer | Jeremy Kloth <jeremy.kloth@gmail.com> | 2010-07-08 10:26:49 -0600 |
| commit | 28afb7a3807953c7e66a42e32ee720d838760acc (patch) | |
| tree | 21dd4be00f3d3ce7ed916b6bf977ca4557faf44f /src/distutils2/command/cmd.py | |
| parent | 0b2e95d77af6c5b8eb245e7a2aed3a34e186ad6d (diff) | |
| download | disutils2-28afb7a3807953c7e66a42e32ee720d838760acc.tar.gz | |
Restored logging of directory creation
Diffstat (limited to 'src/distutils2/command/cmd.py')
| -rw-r--r-- | src/distutils2/command/cmd.py | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/distutils2/command/cmd.py b/src/distutils2/command/cmd.py index 502bbfd..755d3c7 100644 --- a/src/distutils2/command/cmd.py +++ b/src/distutils2/command/cmd.py @@ -373,8 +373,10 @@ class Command(object): if os.path.isdir(name) or name == '': return if dry_run: + head = '' for part in name.split(os.sep): - self.log(part) + log.info("created directory %s%s", head, part) + head += part + os.sep return os.makedirs(name, mode) |
