[Python-checkins] cpython (merge 3.2 -> default): fix whitespace normalization before pushing.
gregory.p.smith
python-checkins at python.org
Mon Feb 13 01:00:31 CET 2012
http://hg.python.org/cpython/rev/0be50d7c4ae1
changeset: 74899:0be50d7c4ae1
parent: 74897:4b791e513c2c
parent: 74898:ea9f663d94d3
user: Gregory P. Smith <greg at krypto.org>
date: Sun Feb 12 15:59:00 2012 -0800
summary:
fix whitespace normalization before pushing.
files:
Lib/lib2to3/main.py | 10 +++++-----
1 files changed, 5 insertions(+), 5 deletions(-)
diff --git a/Lib/lib2to3/main.py b/Lib/lib2to3/main.py
--- a/Lib/lib2to3/main.py
+++ b/Lib/lib2to3/main.py
@@ -79,11 +79,11 @@
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"
--
Repository URL: http://hg.python.org/cpython
More information about the Python-checkins
mailing list