Fix the cause of several exceptions being raised on loading of plugins.

This commit is contained in:
Jeremy Fincher 2004-02-06 09:19:54 +00:00
parent 90112901f4
commit 4fec15f40e

View File

@ -151,7 +151,11 @@ class Group(object):
for (k, v) in _cache.iteritems():
if k.startswith(self.name):
(_, group) = rsplit(k, '.', 1)
try:
self.__makeChild(group, v)
except InvalidRegistryValue:
# It's probably supposed to be registered later.
pass
def register(self, name, node=None):
if node is None: