check possible recursive _as_parameter_ to prevent segfault (closes #1838)

This commit is contained in:
Benjamin Peterson 2011-03-26 17:56:28 -05:00
parent 41347fe011
commit f21ad92351
5 changed files with 43 additions and 2 deletions

View file

@ -500,7 +500,7 @@ class RefactoringTool(object):
node = new
def processed_file(self, new_text, filename, old_text=None, write=False,
encoding=None):
encoding=None, newlines=None):
"""
Called when a file has been refactored, and there are changes.
"""