mirror of
https://github.com/python/cpython.git
synced 2025-12-07 17:57:56 +00:00
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 ........
This commit is contained in:
parent
ee3acff3e3
commit
0151b5350b
1 changed files with 1 additions and 1 deletions
|
|
@ -353,7 +353,7 @@ class RefactoringTool(object):
|
||||||
self.log_debug("Not writing changes to %s", filename)
|
self.log_debug("Not writing changes to %s", filename)
|
||||||
return
|
return
|
||||||
if write:
|
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):
|
def write_file(self, new_text, filename, old_text=None):
|
||||||
"""Writes a string to a file.
|
"""Writes a string to a file.
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue