From a7c7cc28418684dea0138e393f001a4d62d3dce0 Mon Sep 17 00:00:00 2001 From: Jeremy Fincher Date: Wed, 4 Feb 2004 15:55:56 +0000 Subject: [PATCH] Minor stylistic changes. --- src/registry.py | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/src/registry.py b/src/registry.py index e7b591fad..3b0977a8d 100644 --- a/src/registry.py +++ b/src/registry.py @@ -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))