[Python-checkins] r66177 - in python/trunk/Lib/lib2to3: refactor.py

benjamin.peterson python-checkins at python.org
Wed Sep 3 04:14:03 CEST 2008


Author: benjamin.peterson
Date: Wed Sep  3 04:14:03 2008
New Revision: 66177

Log:
Merged revisions 66176 via svnmerge from 
svn+ssh://pythondev@svn.python.org/sandbox/trunk/2to3/lib2to3

........
  r66176 | benjamin.peterson | 2008-09-02 21:04:06 -0500 (Tue, 02 Sep 2008) | 1 line
  
  fix typo
........


Modified:
   python/trunk/Lib/lib2to3/   (props changed)
   python/trunk/Lib/lib2to3/refactor.py

Modified: python/trunk/Lib/lib2to3/refactor.py
==============================================================================
--- python/trunk/Lib/lib2to3/refactor.py	(original)
+++ python/trunk/Lib/lib2to3/refactor.py	Wed Sep  3 04:14:03 2008
@@ -353,7 +353,7 @@
             self.log_debug("Not writing changes to %s", filename)
             return
         if write:
-            self.write_file(next_text, filename, old_text)
+            self.write_file(new_text, filename, old_text)
 
     def write_file(self, new_text, filename, old_text=None):
         """Writes a string to a file.


More information about the Python-checkins mailing list