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':
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()
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':
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: