[Neo-report] r2051 vincent - /trunk/neo/node.py
nobody at svn.erp5.org
nobody at svn.erp5.org
Fri Apr 30 15:43:29 CEST 2010
Author: vincent
Date: Fri Apr 30 15:43:28 2010
New Revision: 2051
Log:
Check that node is not identified in NodeManager.remove .
If it is still identified, the node would still be referenced in node
manager although having been asked for removal.
Modified:
trunk/neo/node.py
Modified: trunk/neo/node.py
==============================================================================
--- trunk/neo/node.py [iso-8859-1] (original)
+++ trunk/neo/node.py [iso-8859-1] Fri Apr 30 15:43:28 2010
@@ -281,6 +281,7 @@
self.__drop(self._uuid_dict, node.getUUID())
self.__dropSet(self._state_dict, node.getState(), node)
self.__dropSet(self._type_dict, node.__class__, node)
+ assert not node.isIdentified()
self._updateIdentified(node)
def __drop(self, index_dict, key):
More information about the Neo-report
mailing list