Unregister should remove the node from the cache as well.

This commit is contained in:
Jeremy Fincher 2004-08-05 18:47:03 +00:00
parent 3fc03d2fa5
commit 50c8cfaf26

View File

@ -217,6 +217,8 @@ class Group(object):
node = self.children[name]
del self.children[name]
self.added.remove(name)
if node._name in _cache:
del _cache[node._name]
return node
except KeyError:
self.__nonExistentEntry(name)