summaryrefslogtreecommitdiffstats
path: root/Lib
diff options
context:
space:
mode:
authorGregory P. Smith <greg@krypto.org>2012-02-12 23:58:36 (GMT)
committerGregory P. Smith <greg@krypto.org>2012-02-12 23:58:36 (GMT)
commitefc66f9e365be38ffb3db5252a10170df8a947ac (patch)
tree84c7f619fea68371f5ee62d6fd2c7ca3c876b2ee /Lib
parent58f23ffb21b0fadb8df91c7c9735401f50b3e844 (diff)
downloadcpython-efc66f9e365be38ffb3db5252a10170df8a947ac.zip
cpython-efc66f9e365be38ffb3db5252a10170df8a947ac.tar.gz
cpython-efc66f9e365be38ffb3db5252a10170df8a947ac.tar.bz2
fix whitespace normalization before pushing.
Diffstat (limited to 'Lib')
-rw-r--r--Lib/lib2to3/main.py10
1 files changed, 5 insertions, 5 deletions
diff --git a/Lib/lib2to3/main.py b/Lib/lib2to3/main.py
index ddcf002..f9cc18b 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"