]> SALOME platform Git repositories - tools/eficas.git/blobdiff - Ihm/I_VALIDATOR.py
Salome HOME
optim eciture
[tools/eficas.git] / Ihm / I_VALIDATOR.py
index cd2f3b03c728aff0d7c0f55f4d64ac8566cd1209..ec414ba2eff2287e1a50f8a5fb0e4425d535cfc8 100644 (file)
@@ -1,5 +1,24 @@
 # -*- coding: utf-8 -*-
+# Copyright (C) 2007-2013   EDF R&D
+#
+# This library is free software; you can redistribute it and/or
+# modify it under the terms of the GNU Lesser General Public
+# License as published by the Free Software Foundation; either
+# version 2.1 of the License.
+#
+# This library is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
+# Lesser General Public License for more details.
+#
+# You should have received a copy of the GNU Lesser General Public
+# License along with this library; if not, write to the Free Software
+# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA
+#
+# See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
+#
 
+from __future__ import absolute_import
 from Noyau.N_VALIDATOR import *
 
 class Compulsory(Compulsory):
@@ -11,12 +30,12 @@ class Compulsory(Compulsory):
 class OrdList(OrdList):
       def valide_liste_partielle(self,liste_courante=None):
           """
-           Méthode de validation de liste partielle pour le validateur OrdList
+           Methode de validation de liste partielle pour le validateur OrdList
           """
           try:
              self.convert(liste_courante)
              valid=1
-          except:
+          except :
              valid=0
           return valid