* wrap/python/ajax/spot.py: Add a required "None" second

argument to utime().
This commit is contained in:
Alexandre Duret-Lutz 2012-01-17 13:27:09 +01:00
parent a5787937ef
commit 7854283593
3 changed files with 9 additions and 3 deletions

View file

@ -1,3 +1,8 @@
2012-01-17 Alexandre Duret-Lutz <adl@lrde.epita.fr>
* wrap/python/ajax/spot.py: Add a required "None" second
argument to utime().
2012-01-17 Alexandre Duret-Lutz <adl@lrde.epita.fr> 2012-01-17 Alexandre Duret-Lutz <adl@lrde.epita.fr>
minimize_wdba() failed to fully minimize some automata. minimize_wdba() failed to fully minimize some automata.

1
NEWS
View file

@ -9,6 +9,7 @@ New in spot 0.8.1a:
clear whether this could have had an inpact on WDBA minimization clear whether this could have had an inpact on WDBA minimization
(the worse case is that some TGBA would not have been minimized (the worse case is that some TGBA would not have been minimized
when they could). when they could).
- Fix a Python syntax error in the CGI script.
- Fix compilation with g++ 4.0. - Fix compilation with g++ 4.0.
- Fix a make check failure when valgrind is missing. - Fix a make check failure when valgrind is missing.

View file

@ -1,7 +1,7 @@
#!@PYTHON@ #!@PYTHON@
# -*- mode: python; coding: iso-8859-1 -*- # -*- mode: python; coding: iso-8859-1 -*-
# Copyright (C) 2011 Laboratoire de Recherche et Développement de # Copyright (C) 2011, 2012 Laboratoire de Recherche et Développement
# l'Epita (LRDE). # de l'Epita (LRDE).
# #
# This file is part of Spot, a model checking library. # This file is part of Spot, a model checking library.
# #
@ -45,7 +45,7 @@ if qs:
print cache.read() print cache.read()
# Touch the directory containing the files we used, so # Touch the directory containing the files we used, so
# it that it survives the browser's cache. # it that it survives the browser's cache.
os.utime(imgprefix) os.utime(imgprefix, None)
exit(0) exit(0)
except IOError: except IOError:
# We failed to open the file. # We failed to open the file.