[Neo-report] r2066 gregory - /trunk/neo/node.py
nobody at svn.erp5.org
nobody at svn.erp5.org
Wed May 5 18:47:25 CEST 2010
Author: gregory
Date: Wed May 5 18:47:24 2010
New Revision: 2066
Log:
Always unindex a node when removed.
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] Wed May 5 18:47:24 2010
@@ -281,8 +281,9 @@
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)
+ uuid = node.getUUID()
+ if uuid in self._identified_dict:
+ del self._identified_dict[uuid]
def __drop(self, index_dict, key):
try:
More information about the Neo-report
mailing list