From 50c8cfaf26b7b6f42bc6860365f7703c3ec8051c Mon Sep 17 00:00:00 2001 From: Jeremy Fincher Date: Thu, 5 Aug 2004 18:47:03 +0000 Subject: [PATCH] Unregister should remove the node from the cache as well. --- src/registry.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/registry.py b/src/registry.py index ef4cef4e2..4fb46b1c9 100644 --- a/src/registry.py +++ b/src/registry.py @@ -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)