* wrap/python/ajax/spot.in: Fix emulation of execfile.
This commit is contained in:
parent
9114305995
commit
802319ddbb
2 changed files with 5 additions and 2 deletions
|
|
@ -199,8 +199,7 @@ if ('SERVER_SOFTWARE' in os.environ and
|
|||
|
||||
try:
|
||||
# execfile('ltl2tgba.opt') no longuer work with Python 3.
|
||||
exec(compile(open("ltl2tgba.opt").read(), "ltl2tgba.opt", 'exec'),
|
||||
global_vars, local_vars)
|
||||
exec(compile(open("ltl2tgba.opt").read(), "ltl2tgba.opt", 'exec'))
|
||||
except IOError:
|
||||
pass
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue