mirror of
https://github.com/Mikaela/Limnoria.git
synced 2024-11-27 13:19:24 +01:00
Fix the cause of several exceptions being raised on loading of plugins.
This commit is contained in:
parent
90112901f4
commit
4fec15f40e
@ -151,7 +151,11 @@ class Group(object):
|
|||||||
for (k, v) in _cache.iteritems():
|
for (k, v) in _cache.iteritems():
|
||||||
if k.startswith(self.name):
|
if k.startswith(self.name):
|
||||||
(_, group) = rsplit(k, '.', 1)
|
(_, group) = rsplit(k, '.', 1)
|
||||||
self.__makeChild(group, v)
|
try:
|
||||||
|
self.__makeChild(group, v)
|
||||||
|
except InvalidRegistryValue:
|
||||||
|
# It's probably supposed to be registered later.
|
||||||
|
pass
|
||||||
|
|
||||||
def register(self, name, node=None):
|
def register(self, name, node=None):
|
||||||
if node is None:
|
if node is None:
|
||||||
|
Loading…
Reference in New Issue
Block a user