modif exercices
This commit is contained in:
@ -11,6 +11,10 @@ if fonctionseole.init_proc('PERSO') == False:
|
||||
|
||||
fonctionseole.zephir("INIT" , "script test_perso en cours d'execution", "PERSO")
|
||||
|
||||
if is_locked(['reconfigure']):
|
||||
fonctionseole.zephir("ERR" , "supprimer_fichier stoppé : reconfigure en cours", "PERSO")
|
||||
sys.exit(1)
|
||||
|
||||
try:
|
||||
filename = sys.argv[1]
|
||||
fonctionseole.zephir("MSG" , "supprimer_fichier lancé avec l'argument %s" % filename, "PERSO")
|
||||
@ -18,9 +22,5 @@ try:
|
||||
except:
|
||||
fonctionseole.zephir("ERR" , "supprimer_fichier lancé sans argument", "PERSO")
|
||||
sys.exit(1)
|
||||
if is_locked(['reconfigure']):
|
||||
fonctionseole.zephir("ERR" , "supprimer_fichier stoppé : reconfigure en cours", "PERSO")
|
||||
sys.exit(1)
|
||||
else:
|
||||
fonctionseole.zephir("FIN" , "supprimer_fichier : OK", "PERSO")
|
||||
|
||||
fonctionseole.zephir("FIN" , "supprimer_fichier : OK", "PERSO")
|
||||
|
Reference in New Issue
Block a user