diff options
author | Gregory P. Smith <greg@krypto.org> | 2012-02-12 23:59:35 (GMT) |
---|---|---|
committer | Gregory P. Smith <greg@krypto.org> | 2012-02-12 23:59:35 (GMT) |
commit | 32b6371460e9b3b2708be2e732599f3c9a1fe336 (patch) | |
tree | 87b614d218755428e4355335e18048d6417633bc /Lib | |
parent | 12426998cee12903078395cca849564179126be9 (diff) | |
download | cpython-32b6371460e9b3b2708be2e732599f3c9a1fe336.zip cpython-32b6371460e9b3b2708be2e732599f3c9a1fe336.tar.gz cpython-32b6371460e9b3b2708be2e732599f3c9a1fe336.tar.bz2 |
fix whitespace normalization before pushing.
Diffstat (limited to 'Lib')
-rw-r--r-- | Lib/lib2to3/main.py | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/Lib/lib2to3/main.py b/Lib/lib2to3/main.py index 014238e..ad0625e 100644 --- a/Lib/lib2to3/main.py +++ b/Lib/lib2to3/main.py @@ -79,11 +79,11 @@ class StdoutRefactoringTool(refactor.MultiprocessRefactoringTool): if self._append_suffix: filename += self._append_suffix if orig_filename != filename: - output_dir = os.path.dirname(filename) - if not os.path.isdir(output_dir): - os.makedirs(output_dir) - self.log_message('Writing converted %s to %s.', orig_filename, - filename) + output_dir = os.path.dirname(filename) + if not os.path.isdir(output_dir): + os.makedirs(output_dir) + self.log_message('Writing converted %s to %s.', orig_filename, + filename) if not self.nobackups: # Make backup backup = filename + ".bak" |