mirror of
https://github.com/Mikaela/Limnoria.git
synced 2024-11-03 01:39:23 +01:00
Minor stylistic changes.
This commit is contained in:
parent
952aa0e395
commit
a7c7cc2841
@ -76,8 +76,7 @@ def close(registry, filename, annotated=True):
|
|||||||
for (name, value) in registry.getValues(getChildren=True):
|
for (name, value) in registry.getValues(getChildren=True):
|
||||||
if annotated and \
|
if annotated and \
|
||||||
hasattr(value,'help') and \
|
hasattr(value,'help') and \
|
||||||
value.help and \
|
value.help and value.help not in helpCache:
|
||||||
value.help not in helpCache:
|
|
||||||
helpCache.add(value.help)
|
helpCache.add(value.help)
|
||||||
lines = textwrap.wrap(value.help)
|
lines = textwrap.wrap(value.help)
|
||||||
for (i, line) in enumerate(lines):
|
for (i, line) in enumerate(lines):
|
||||||
@ -394,7 +393,7 @@ if __name__ == '__main__':
|
|||||||
number of seconds the bot will wait between sending messages to the server.
|
number of seconds the bot will wait between sending messages to the server.
|
||||||
"""))
|
"""))
|
||||||
supybot.register('plugins')
|
supybot.register('plugins')
|
||||||
supybot.plugins.register('topic')
|
supybot.plugins.register('Topic')
|
||||||
supybot.plugins.topic.register('separator',
|
supybot.plugins.topic.register('separator',
|
||||||
StringSurroundedBySpaces(' || ', """Determines what separator the bot
|
StringSurroundedBySpaces(' || ', """Determines what separator the bot
|
||||||
uses to separate topic entries.""", supplyDefault=True))
|
uses to separate topic entries.""", supplyDefault=True))
|
||||||
|
Loading…
Reference in New Issue
Block a user