summaryrefslogtreecommitdiffstats
path: root/Lib/lib2to3/fixer_base.py
diff options
context:
space:
mode:
Diffstat (limited to 'Lib/lib2to3/fixer_base.py')
-rw-r--r--Lib/lib2to3/fixer_base.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/lib2to3/fixer_base.py b/Lib/lib2to3/fixer_base.py
index 66737f4..c361e61 100644
--- a/Lib/lib2to3/fixer_base.py
+++ b/Lib/lib2to3/fixer_base.py
@@ -120,7 +120,7 @@ class BaseFix(object):
"""
lineno = node.get_lineno()
for_output = node.clone()
- for_output.set_prefix("")
+ for_output.prefix = ""
msg = "Line %d: could not convert: %s"
self.log_message(msg % (lineno, for_output))
if reason: