]> SALOME platform Git repositories - modules/eficas.git/commitdiff
Salome HOME
changement de signature de la methode convert
authoreficas <>
Mon, 14 Mar 2005 13:44:10 +0000 (13:44 +0000)
committereficas <>
Mon, 14 Mar 2005 13:44:10 +0000 (13:44 +0000)
convert/convert_asterv5.py
convert/convert_homard.py
convert/convert_ini.py
convert/convert_pyth.py

index 036e23d25202b66b8350931d85761311c9616e71..bf13ea13ca035e9e74dac2e323c7d940d472f9d1 100644 (file)
@@ -93,7 +93,7 @@ class AsterParser:
          self.cr.fatal("Impossible ouvrir fichier %s" % filename)
          return
 
-   def convert(self,outformat):
+   def convert(self,outformat,appli=None):
       if outformat == 'exec':
          return self.getexec()
       elif outformat == 'execnoparseur':
index f03a6f0d2780be4bac86b2907898282dccf09edd..646504b1752460bcf062128d3ca5a64df7e85d04 100644 (file)
@@ -103,7 +103,7 @@ class PythonParser:
          self.cr.fatal("Impossible ouvrir fichier %s" % filename)
          return
 
-   def convert(self,outformat):
+   def convert(self,outformat,appli=None):
       if outformat == 'exec':
          try:
             return parseur_python.PARSEUR_PYTHON(self.text).get_texte()
index 59eb804dbb0fd657f3e2aa701d22ebb54ca16bc0..c8439f66c3969e24ec1b05f83a8cf9aedb3361e6 100644 (file)
@@ -78,7 +78,7 @@ class IniParser(ConfigParser):
       except Exception,e:
          self.cr.fatal(str(e))
 
-   def convert(self,outformat):
+   def convert(self,outformat,appli=None):
       if outformat == 'eval':
          return self.getdicttext()
       elif outformat == 'dict':
index b770c3782567193fd1ad6563abc0a2cde0a7665f..a056bb214393ce3d93654c6cd0f1b85f0e27eb7c 100644 (file)
@@ -107,7 +107,7 @@ class PythParser:
          s= string.replace(s,'"<string>"','"<%s>"'%self.filename)
          self.cr.fatal("Erreur a l'evaluation :\n" + s)
 
-   def convert(self,outformat):
+   def convert(self,outformat,appli=None):
       if outformat == 'dict':
          return self.getdict()
       else: