From b801a89ab65da114f953dd728cb6525ec9536d78 Mon Sep 17 00:00:00 2001 From: Anthony Geay Date: Fri, 20 Jul 2018 10:04:44 +0200 Subject: [PATCH] [EDF17470] : huge bug correction. --- src/SALOMESDS/SALOMESDS_DataScopeServer.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 !"; -- 2.39.2