Commit fe4364c4 authored by Grégory Wisniewski's avatar Grégory Wisniewski

Always unindex a node when removed.

git-svn-id: https://svn.erp5.org/repos/neo/trunk@2066 71dcc9de-d417-0410-9af5-da40c76e7ee4
parent 76b17baf
......@@ -281,8 +281,9 @@ class NodeManager(object):
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:
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment