Indentation change.

This commit is contained in:
Jeremy Fincher 2004-12-10 07:03:53 +00:00
parent 3884fc451f
commit c5e48d574f
1 changed files with 2 additions and 2 deletions

View File

@ -901,7 +901,7 @@ class IrcObjectProxy(RichReplyMethods):
else: else:
if self.commandMethod is not None: if self.commandMethod is not None:
# We can recurse here because it only gets called once. # We can recurse here because it only gets called once.
return self.error(formatArgumentError(self.commandMethod), return self.reply(formatArgumentError(self.commandMethod),
**kwargs) **kwargs)
else: else:
raise ArgumentError # We shouldn't get here, but just in case. raise ArgumentError # We shouldn't get here, but just in case.
@ -1108,7 +1108,7 @@ class Privmsg(irclib.IrcCallback):
"""Gets the given command from this plugin.""" """Gets the given command from this plugin."""
name = canonicalName(name) name = canonicalName(name)
assert self.isCommand(name), '%s is not a command.' % \ assert self.isCommand(name), '%s is not a command.' % \
utils.quoted(name) utils.quoted(name)
return getattr(self, name) return getattr(self, name)
def callCommand(self, name, irc, msg, *L, **kwargs): def callCommand(self, name, irc, msg, *L, **kwargs):