Made register more useful, should fix some Services.identify bugs.

This commit is contained in:
Jeremy Fincher 2004-08-27 20:10:17 +00:00
parent 5a1d9de710
commit f6fbe4eb27

View File

@ -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):