try:
self.CONFIGURATION.generator_module
_module = __import__(self.CONFIGURATION.generator_module)
- info = _module.entryPoint()
- generator.plugins.addEntryPoint(info)
+ info = _module.entryPoint()
+ generator.plugins.addEntryPoint(info)
except NameError:
- pass
+ pass
except:
- #traceback.print_exc()
- pass
+ traceback.print_exc()
try:
self.CONFIGURATION.convert_module
except NameError:
pass
except:
- #traceback.print_exc()
- pass
+ traceback.print_exc()
self.sb = None
if hasattr(self.appliEficas,"statusBar"):
#if not hasattr( readercata, 'reader' ) :
# readercata.reader = readercata.READERCATA( self, self.appliEficas )
#self.readercata = readercata.reader
- self.readercata = readercata.READERCATA( self, self.appliEficas )
+ if not hasattr ( self.appliEficas, 'readercata'):
+ self.readercata = readercata.READERCATA( self, self.appliEficas )
+ self.appliEficas.readercata=self.readercata
+ else :
+ self.readercata=self.appliEficas.readercata
if self.readercata.fic_cata == None : return #Sortie Salome
self.Commandes_Ordre_Catalogue =self.readercata.Commandes_Ordre_Catalogue
except :
pass
- try :
- self.tubePy=self.generator.getTubePy()
- fileTube = fn[:fn.rfind(".")] + '.py'
- if self.tubePy != '' :
- f=open(fileTube,'w')
- f.write(self.tubePy)
- f.close()
- except :
- pass
+ #try :
+ # self.tubePy=self.generator.getTubePy()
+ # fileTube = fn[:fn.rfind(".")] + '.py'
+ # if self.tubePy != '' :
+ # f=open(fileTube,'w')
+ # f.write(self.tubePy)
+ # f.close()
+ #except :
+ # pass
if self.salome :
self.appliEficas.addJdcInSalome( self.fichier)