mirror of
https://github.com/Mikaela/Limnoria.git
synced 2024-12-24 03:33:11 +01:00
Made register more useful, should fix some Services.identify bugs.
This commit is contained in:
parent
5a1d9de710
commit
f6fbe4eb27
@ -216,6 +216,11 @@ class Group(object):
|
||||
names.append(name)
|
||||
fullname = join(names)
|
||||
node.setName(fullname)
|
||||
else:
|
||||
# We do this so the return value from here is at least useful;
|
||||
# otherwise, we're just returning a useless, unattached node
|
||||
# that's simply a waste of space.
|
||||
node = self._children[name]
|
||||
return node
|
||||
|
||||
def unregister(self, name):
|
||||
|
Loading…
Reference in New Issue
Block a user