if j.par_lot == 'NON':
print "FIN EXECUTION"
- err=calcium.cp_fin(self.proxy,calcium.CP_ARRET)
+ #err=calcium.cp_fin(self.proxy,calcium.CP_ARRET)
#retour sans erreur (il faut pousser les variables de sortie)
sys.stdout.flush()
self.endService("${component}.${service}")
raise SALOME.SALOME_Exception(SALOME.ExceptionStruct(SALOME.BAD_PARAM,msg+'\\n'+str(j.cr),"${component}.py",0))
else:
#retour sans erreur (il faut pousser les variables de sortie)
- err=calcium.cp_fin(self.proxy,calcium.CP_ARRET)
+ #err=calcium.cp_fin(self.proxy,calcium.CP_ARRET)
sys.stdout.flush()
self.endService("${component}.${service}")
return ${rvars}
{
beginService("${component}_i::${service}");
Superv_Component_i * component = dynamic_cast<Superv_Component_i*>(this);
- char nom_instance[INSTANCE_LEN];
- int info = cp_cd(component,nom_instance);
+ //char nom_instance[INSTANCE_LEN];
+ //int info = cp_cd(component,nom_instance);
try
{
//BODY
${body}
//ENDBODY
- cp_fin(component,CP_ARRET);
+ //cp_fin(component,CP_ARRET);
}
catch ( const CalciumException & ex)
{
std::cerr << ex.what() << std::endl;
- cp_fin(component,CP_ARRET);
+ //cp_fin(component,CP_ARRET);
SALOME::ExceptionStruct es;
es.text=CORBA::string_dup(ex.what());
es.type=SALOME::INTERNAL_ERROR;
}
catch ( const SALOME_Exception & ex)
{
- cp_fin(component,CP_ARRET);
+ //cp_fin(component,CP_ARRET);
SALOME::ExceptionStruct es;
es.text=CORBA::string_dup(ex.what());
es.type=SALOME::INTERNAL_ERROR;
}
catch ( const SALOME::SALOME_Exception & ex)
{
- cp_fin(component,CP_ARRET);
+ //cp_fin(component,CP_ARRET);
throw;
}
catch (...)
#if ${exe}
_exit(-1);
#endif
- cp_fin(component,CP_ARRET);
+ //cp_fin(component,CP_ARRET);
SALOME::ExceptionStruct es;
es.text=CORBA::string_dup(" unknown exception");
es.type=SALOME::INTERNAL_ERROR;