From: Anthony Geay Date: Fri, 20 Jul 2018 08:04:44 +0000 (+0200) Subject: [EDF17470] : huge bug correction. X-Git-Tag: SHAPER_V9_1_0RC1~6 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=ac87d355bb103c06f847fa685214b271414c0768;p=modules%2Fkernel.git [EDF17470] : huge bug correction. --- diff --git a/src/SALOMESDS/SALOMESDS_DataScopeServer.cxx b/src/SALOMESDS/SALOMESDS_DataScopeServer.cxx index c0a06f2a1..4476e1333 100644 --- a/src/SALOMESDS/SALOMESDS_DataScopeServer.cxx +++ b/src/SALOMESDS/SALOMESDS_DataScopeServer.cxx @@ -706,7 +706,7 @@ void DataScopeServerTransaction::pingKey(PyObject *keyObj) for(std::list< KeyWaiter *>::iterator it=_waiting_keys.begin();it!=_waiting_keys.end();it++,ii++) { PyObject *waitKey((*it)->getKeyPyObj()); - PyObject *meth(PyObject_GetAttrString(keyObj,"__eq__")); + PyObject *meth(PyObject_GetAttrString(waitKey,"__eq__")); if(!meth) { std::ostringstream oss; oss << "DataScopeServerTransaction::pingKey : for object id #" << ii << " no __eq__ in pyobj !";