mirror of
https://github.com/Mikaela/Limnoria.git
synced 2025-02-20 07:30:54 +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)
|
names.append(name)
|
||||||
fullname = join(names)
|
fullname = join(names)
|
||||||
node.setName(fullname)
|
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
|
return node
|
||||||
|
|
||||||
def unregister(self, name):
|
def unregister(self, name):
|
||||||
|
Loading…
x
Reference in New Issue
Block a user