Minor stylistic changes.

This commit is contained in:
Jeremy Fincher 2004-02-04 15:55:56 +00:00
parent 952aa0e395
commit a7c7cc2841
1 changed files with 2 additions and 3 deletions

View File

@ -76,8 +76,7 @@ def close(registry, filename, annotated=True):
for (name, value) in registry.getValues(getChildren=True):
if annotated and \
hasattr(value,'help') and \
value.help and \
value.help not in helpCache:
value.help and value.help not in helpCache:
helpCache.add(value.help)
lines = textwrap.wrap(value.help)
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.
"""))
supybot.register('plugins')
supybot.plugins.register('topic')
supybot.plugins.register('Topic')
supybot.plugins.topic.register('separator',
StringSurroundedBySpaces(' || ', """Determines what separator the bot
uses to separate topic entries.""", supplyDefault=True))