From: barate Date: Tue, 6 Aug 2013 12:14:25 +0000 (+0000) Subject: Remove distinction between batch managers ssh_batch and none X-Git-Tag: V7_3_0a1~14 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=1775e8747c6902e3e884a52e28bdba895a120e83;p=modules%2Fjobmanager.git Remove distinction between batch managers ssh_batch and none --- diff --git a/src/engine/BL_SALOMEServices.cxx b/src/engine/BL_SALOMEServices.cxx index 1b579e5..0eb772e 100644 --- a/src/engine/BL_SALOMEServices.cxx +++ b/src/engine/BL_SALOMEServices.cxx @@ -179,7 +179,7 @@ BL::SALOMEServices::addResource(BL::ResourceDescr & new_resource) resource_definition->name = CORBA::string_dup(new_resource.name.c_str()); resource_definition->hostname = CORBA::string_dup(new_resource.hostname.c_str()); - if (new_resource.batch == "ssh_batch") + if (new_resource.batch == "none") resource_definition->type = CORBA::string_dup("single_machine"); else resource_definition->type = CORBA::string_dup("cluster"); diff --git a/src/genericgui/JM_EditSalomeResource.cxx b/src/genericgui/JM_EditSalomeResource.cxx index 1bf0f8a..f026149 100644 --- a/src/genericgui/JM_EditSalomeResource.cxx +++ b/src/genericgui/JM_EditSalomeResource.cxx @@ -131,7 +131,7 @@ JM::EditSalomeResource::EditSalomeResource(QWidget *parent, BL::SALOMEServices * QLabel * batch_label = new QLabel("Batch Manager:"); _batch_line = new QComboBox(this); - _batch_line->addItem("None", "ssh_batch"); + _batch_line->addItem("None", "none"); _batch_line->addItem("CCC", "ccc"); _batch_line->addItem("LSF", "lsf"); _batch_line->addItem("SGE", "sge");