Slightly changed the error message to make it sound better.

This commit is contained in:
Jeremy Fincher 2003-10-21 17:57:16 +00:00
parent 7d3d501073
commit 3c4a53c42c
1 changed files with 2 additions and 2 deletions

View File

@ -86,7 +86,7 @@ class Misc(callbacks.Privmsg):
if ambiguousCommands:
if len(ambiguousCommands) == 1: # Common case.
(command, cbs) = ambiguousCommands.popitem()
s = 'The command %r is available in the plugins %s. '\
s = 'The command %r is available in the %s plugins. '\
'Please specify the plugin whose command you ' \
'wish to call by using its name as a command ' \
'before %r' % \
@ -95,7 +95,7 @@ class Misc(callbacks.Privmsg):
L = []
while ambiguousCommands:
(command, cbs) = ambiguousCommands.popitem()
L.append('%r is available in the plugins %s' % \
L.append('%r is available in the %s plugins' % \
(command, utils.commaAndify(cbs)))
s = '%s; please specify from which plugins to ' \
'call these commands.' % '; '.join(L)