[Python-checkins] cpython (3.2): 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/ea9f663d94d3
changeset: 74898:ea9f663d94d3
branch: 3.2
parent: 74895:ceea9ebfe003
user: Gregory P. Smith <greg at krypto.org>
date: Sun Feb 12 15:58:36 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