* wrap/python/ajax/spot.in: Fix emulation of execfile.

This commit is contained in:
Alexandre Duret-Lutz 2012-03-08 21:30:09 +01:00
parent 9114305995
commit 802319ddbb
2 changed files with 5 additions and 2 deletions

View file

@ -1,3 +1,7 @@
2012-03-08 Alexandre Duret-Lutz <adl@lrde.epita.fr>
* wrap/python/ajax/spot.in: Fix emulation of execfile.
2012-03-04 Alexandre Duret-Lutz <adl@lrde.epita.fr>
ltl2tgba.html: save state in URL to preserve history

View file

@ -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