summaryrefslogtreecommitdiffstats
path: root/Lib/lib2to3
diff options
context:
space:
mode:
authorBenjamin Peterson <benjamin@python.org>2010-03-22 22:54:42 (GMT)
committerBenjamin Peterson <benjamin@python.org>2010-03-22 22:54:42 (GMT)
commit3bcc35b795862bf1ac7b8a515089843a98aa0848 (patch)
tree80d6619455b00d43a06948ef8084361ca706226f /Lib/lib2to3
parent176cda11dffa7759dae138b49f103e6411e6679e (diff)
downloadcpython-3bcc35b795862bf1ac7b8a515089843a98aa0848.zip
cpython-3bcc35b795862bf1ac7b8a515089843a98aa0848.tar.gz
cpython-3bcc35b795862bf1ac7b8a515089843a98aa0848.tar.bz2
Merged revisions 79309 via svnmerge from
svn+ssh://pythondev@svn.python.org/sandbox/trunk/2to3/lib2to3 ........ r79309 | benjamin.peterson | 2010-03-22 17:50:47 -0500 (Mon, 22 Mar 2010) | 1 line pass correct symbol in ........
Diffstat (limited to 'Lib/lib2to3')
-rw-r--r--Lib/lib2to3/fixes/fix_exitfunc.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/lib2to3/fixes/fix_exitfunc.py b/Lib/lib2to3/fixes/fix_exitfunc.py
index b29b464..6ba2a67 100644
--- a/Lib/lib2to3/fixes/fix_exitfunc.py
+++ b/Lib/lib2to3/fixes/fix_exitfunc.py
@@ -62,7 +62,7 @@ class FixExitfunc(fixer_base.BaseFix):
containing_stmt = self.sys_import.parent
position = containing_stmt.children.index(self.sys_import)
stmt_container = containing_stmt.parent
- new_import = pytree.Node("import_name",
+ new_import = pytree.Node(syms.import_name,
[Name("import"), Name("atexit", " ")]
)
new = pytree.Node("simple_stmt", [new_import])