diff options
author | Benjamin Peterson <benjamin@python.org> | 2008-09-03 02:14:03 (GMT) |
---|---|---|
committer | Benjamin Peterson <benjamin@python.org> | 2008-09-03 02:14:03 (GMT) |
commit | 0151b5350bf71ab2fb83f48561f7b6da42a1a96f (patch) | |
tree | e5ad7003c5dd66abd869577275480c61658dd21e /Lib/lib2to3/refactor.py | |
parent | ee3acff3e3eab8fa36c779ff00c044f6c08cc410 (diff) | |
download | cpython-0151b5350bf71ab2fb83f48561f7b6da42a1a96f.zip cpython-0151b5350bf71ab2fb83f48561f7b6da42a1a96f.tar.gz cpython-0151b5350bf71ab2fb83f48561f7b6da42a1a96f.tar.bz2 |
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
........
Diffstat (limited to 'Lib/lib2to3/refactor.py')
-rwxr-xr-x | Lib/lib2to3/refactor.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/lib2to3/refactor.py b/Lib/lib2to3/refactor.py index 82c1507..17304a8 100755 --- a/Lib/lib2to3/refactor.py +++ b/Lib/lib2to3/refactor.py @@ -353,7 +353,7 @@ class RefactoringTool(object): 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. |