##// END OF EJS Templates
Skip `has_key` when running 2to3.
Bradley M. Froehle -
Show More
@@ -269,10 +269,11 b" if 'setuptools' in sys.modules:"
269 # so we explicitly disable some 2to3 fixes to be sure we aren't forgetting
269 # so we explicitly disable some 2to3 fixes to be sure we aren't forgetting
270 # anything.
270 # anything.
271 setuptools_extra_args['use_2to3_exclude_fixers'] = [
271 setuptools_extra_args['use_2to3_exclude_fixers'] = [
272 'lib2to3.fixes.fix_except',
273 'lib2to3.fixes.fix_apply',
272 'lib2to3.fixes.fix_apply',
274 'lib2to3.fixes.fix_repr',
273 'lib2to3.fixes.fix_except',
274 'lib2to3.fixes.fix_has_key',
275 'lib2to3.fixes.fix_next',
275 'lib2to3.fixes.fix_next',
276 'lib2to3.fixes.fix_repr',
276 ]
277 ]
277 from setuptools.command.build_py import build_py
278 from setuptools.command.build_py import build_py
278 setup_args['cmdclass'] = {'build_py': record_commit_info('IPython', build_cmd=build_py)}
279 setup_args['cmdclass'] = {'build_py': record_commit_info('IPython', build_cmd=build_py)}
General Comments 0
You need to be logged in to leave comments. Login now