]> SALOME platform Git repositories - modules/kernel.git/commitdiff
Salome HOME
[EDF17470] : huge bug correction.
authorAnthony Geay <anthony.geay@edf.fr>
Fri, 20 Jul 2018 08:04:44 +0000 (10:04 +0200)
committerAnthony Geay <anthony.geay@edf.fr>
Fri, 20 Jul 2018 08:04:44 +0000 (10:04 +0200)
src/SALOMESDS/SALOMESDS_DataScopeServer.cxx

index c0a06f2a1eb5641e4dfb412d9f7c4771ee804f53..4476e1333d982745a69ee75460bbcefb36141a02 100644 (file)
@@ -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 !";