From 847b53d68a27b4ed18c0ca377c3d691b3f10471e Mon Sep 17 00:00:00 2001 From: Jeremy Fincher Date: Mon, 26 Jan 2004 08:10:36 +0000 Subject: [PATCH] Fixed some bugz0rs. --- src/Owner.py | 7 +++---- src/registry.py | 2 +- 2 files changed, 4 insertions(+), 5 deletions(-) diff --git a/src/Owner.py b/src/Owner.py index 063f88b7d..59f04f10b 100644 --- a/src/Owner.py +++ b/src/Owner.py @@ -96,10 +96,9 @@ def loadPluginClass(irc, module): conf.registerGroup(conf.supybot, 'commands') conf.registerGroup(conf.supybot.commands, 'defaultPlugins', - registry.GroupWithDefault(registry.String('', """ - Determines what commands have default plugins set, and which - plugins are set to be the default for each of those - commands."""))) + registry.GroupWithDefault(registry.String('(Unused)', """Determines what + commands have default plugins set, and which plugins are set to be the + default for each of those commands."""))) conf.registerGlobalValue(conf.supybot.commands.defaultPlugins, 'list', registry.String('Misc', '')) conf.registerGlobalValue(conf.supybot.commands.defaultPlugins, diff --git a/src/registry.py b/src/registry.py index f0f7b7236..ddfa1a5a4 100644 --- a/src/registry.py +++ b/src/registry.py @@ -311,7 +311,7 @@ class Group(object): items = self.values.items() for (name, child) in self.children.items(): if hasattr(child, 'value'): - items.append((self.originals[name], child)) + items.append((name, child)) utils.sortBy(lambda (k, _): (k.lower(), len(k), k), items) for (name, value) in items: if fullNames: