Salome HOME
CCAR: coorection de la prise de focus pour les mots cles simples et la liste des
[tools/eficas.git] / Noyau / N_FACT.py
index 0cf0289532d458818259a9c37e1f63024cdbaad8..2d9455c03c2c14815add7e5daabf5d2ecfcf5107 100644 (file)
@@ -1,3 +1,23 @@
+#@ MODIF N_FACT Noyau  DATE 27/03/2002   AUTEUR DURAND C.DURAND 
+#            CONFIGURATION MANAGEMENT OF EDF VERSION
+# ======================================================================
+# COPYRIGHT (C) 1991 - 2002  EDF R&D                  WWW.CODE-ASTER.ORG
+# THIS PROGRAM IS FREE SOFTWARE; YOU CAN REDISTRIBUTE IT AND/OR MODIFY
+# IT UNDER THE TERMS OF THE GNU GENERAL PUBLIC LICENSE AS PUBLISHED BY
+# THE FREE SOFTWARE FOUNDATION; EITHER VERSION 2 OF THE LICENSE, OR   
+# (AT YOUR OPTION) ANY LATER VERSION.                                 
+#
+# THIS PROGRAM 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    
+# GENERAL PUBLIC LICENSE FOR MORE DETAILS.                            
+#
+# YOU SHOULD HAVE RECEIVED A COPY OF THE GNU GENERAL PUBLIC LICENSE   
+# ALONG WITH THIS PROGRAM; IF NOT, WRITE TO EDF R&D CODE_ASTER,       
+#    1 AVENUE DU GENERAL DE GAULLE, 92141 CLAMART CEDEX, FRANCE.      
+#                                                                       
+#                                                                       
+# ======================================================================
 """ Ce module contient la classe de definition FACT
     qui permet de spécifier les caractéristiques des mots clés facteurs
 """
@@ -113,19 +133,19 @@ class FACT(N_ENTITE.ENTITE):
    def verif_cata(self):
       if type(self.min) != types.IntType :
          if self.min != '**':
-            self.cr.fatal("L'attribut 'min' doit être un entier : %s" %`self.min`)
+            self.cr.fatal("L'attribut 'min' doit etre un entier : %s" %`self.min`)
       if type(self.max) != types.IntType :
          if self.max != '**':
-            self.cr.fatal("L'attribut 'max' doit être un entier : %s" %`self.max`)
+            self.cr.fatal("L'attribut 'max' doit etre un entier : %s" %`self.max`)
       if self.min > self.max :
          self.cr.fatal("Nombres d'occurrence min et max invalides : %s %s" %(`self.min`,`self.max`))
       if type(self.fr) != types.StringType :
-         self.cr.fatal("L'attribut 'fr' doit être une chaîne de caractères : %s" %`self.fr`)
+         self.cr.fatal("L'attribut 'fr' doit etre une chaine de caractères : %s" %`self.fr`)
       if type(self.regles) != types.TupleType :
-         self.cr.fatal("L'attribut 'regles' doit être un tuple : %s" %`self.regles`)
+         self.cr.fatal("L'attribut 'regles' doit etre un tuple : %s" %`self.regles`)
       if self.statut not in ['f','o','c','d'] :
          self.cr.fatal("L'attribut 'statut' doit valoir 'o','f','c' ou 'd' : %s" %`self.statut`)
       if type(self.docu) != types.StringType :
-         self.cr.fatal("L'attribut 'docu' doit être une chaîne de caractères : %s" %`self.docu`)
+         self.cr.fatal("L'attribut 'docu' doit etre une chaine de caractères : %s" %`self.docu`)
       self.verif_cata_regles()