mirror of
https://github.com/Mikaela/Limnoria.git
synced 2025-01-11 04:32:36 +01:00
Add the configuration variable help reloading
This commit is contained in:
parent
b44401dd1c
commit
d156ae7474
@ -253,6 +253,9 @@ class Group(object):
|
|||||||
fullname = join(names)
|
fullname = join(names)
|
||||||
node.setName(fullname)
|
node.setName(fullname)
|
||||||
else:
|
else:
|
||||||
|
# We do this in order to reload the help, if it changed.
|
||||||
|
if node._help != '' and node._help != self._children[name]._help:
|
||||||
|
self._children[name]._help = node._help
|
||||||
# We do this so the return value from here is at least useful;
|
# We do this so the return value from here is at least useful;
|
||||||
# otherwise, we're just returning a useless, unattached node
|
# otherwise, we're just returning a useless, unattached node
|
||||||
# that's simply a waste of space.
|
# that's simply a waste of space.
|
||||||
|
Loading…
Reference in New Issue
Block a user