From 6a42d5051e1189d6d734f2df531e7fc7ad09697b Mon Sep 17 00:00:00 2001 From: eficas <> Date: Thu, 2 Jun 2005 07:32:14 +0000 Subject: [PATCH] *** empty log message *** --- Aster/lance_test.sh | 13 ++++++++++--- Editeur/plusieursbasepanel.py | 4 ++-- 2 files changed, 12 insertions(+), 5 deletions(-) diff --git a/Aster/lance_test.sh b/Aster/lance_test.sh index 47cab21d..46c2c2b5 100755 --- a/Aster/lance_test.sh +++ b/Aster/lance_test.sh @@ -17,15 +17,22 @@ do if [ "$rc" != "0" ] then cr=`./test_eficas.py $file` - if [ "${cr}" != "" ] + if [ "${cr}" == "" ] then - echo $file >> ./Tests_Batch/${version}/bad_${passe} + echo $file >> ./Tests_Batch/${version}/bad_${passe} else + cr=` echo $cr | grep -v DEBUT | grep -v FIN` + if [ "${cr}" != "" ] + then + echo $file >> ./Tests_Batch/${version}/bad_${passe} + else echo $file >> ./Tests_Batch/${version}/ok_${passe} + fi fi + else + echo $file >> ./Tests_Batch/${version}/nt_${passe} fi else echo $file >> ./Tests_Batch/${version}/nt_${passe} fi - read a done diff --git a/Editeur/plusieursbasepanel.py b/Editeur/plusieursbasepanel.py index 602cb860..93c84d6c 100644 --- a/Editeur/plusieursbasepanel.py +++ b/Editeur/plusieursbasepanel.py @@ -271,8 +271,8 @@ class PLUSIEURS_BASE_Panel(PLUSIEURS_Panel): if hasattr(self,'entry'): # Traitement d'une entree unique valeurentree = self.entry.get() - if (valeurentree == None): - return None,0 + if (valeurentree == None or valeurentree ==""): + return None,0,"" if (valeurentree[0] != "(") and (valeurentree.find(',') < len(valeurentree)): valeurs=[] for v in valeurentree.split(','): -- 2.39.2