Kill execfile(), use exec() instead

This commit is contained in:
Neal Norwitz 2007-08-12 00:43:29 +00:00
parent 41eaedd361
commit 016880229a
98 changed files with 179 additions and 341 deletions

View file

@ -33,7 +33,7 @@ includestuff = includestuff + """
"""
execfile(string.lower(MODPREFIX) + 'typetest.py')
exec(open(string.lower(MODPREFIX) + 'typetest.py').read())
# From here on it's basically all boiler plate...
@ -45,7 +45,7 @@ Function = OSErrFunctionGenerator
# Create and populate the lists
functions = []
execfile(INPUTFILE)
exec(open(INPUTFILE).read())
# add the populated lists to the generator groups
# (in a different wordl the scan program would generate this)