From 55ae08bd2d1fc7c9826b5609fb24fc78eccaa2fb Mon Sep 17 00:00:00 2001 From: eficas <> Date: Tue, 9 Aug 2005 10:23:47 +0000 Subject: [PATCH] PN : correction de bug (suppression d un JDC vide) --- Ihm/I_JDC.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Ihm/I_JDC.py b/Ihm/I_JDC.py index 97984193..5292e68a 100644 --- a/Ihm/I_JDC.py +++ b/Ihm/I_JDC.py @@ -321,6 +321,9 @@ class JDC(I_OBJECT.OBJECT): """ #print "suppentite",self self.init_modif() + #PN correction de bugs + if etape not in self.etapes: + return 0 index_etape=self.etapes.index(etape) self.etapes.remove(etape) -- 2.39.2