mirror of
https://github.com/Mikaela/Limnoria.git
synced 2024-11-23 19:19:32 +01:00
Typos.
This commit is contained in:
parent
dccf91c855
commit
e32fe3b0c5
@ -52,7 +52,7 @@ class CurrencyCommand(registry.String):
|
|||||||
m = Currency.currencyCommands
|
m = Currency.currencyCommands
|
||||||
if s not in m:
|
if s not in m:
|
||||||
raise registry.InvalidRegistryValue,\
|
raise registry.InvalidRegistryValue,\
|
||||||
'Command must be one of %s' % utils.commaAndify(m)
|
'Command must be one of %s.' % utils.commaAndify(m)
|
||||||
else:
|
else:
|
||||||
method = getattr(Currency, s)
|
method = getattr(Currency, s)
|
||||||
Currency.convert.im_func.__doc__ = method.__doc__
|
Currency.convert.im_func.__doc__ = method.__doc__
|
||||||
@ -62,7 +62,7 @@ class Currency(callbacks.Privmsg):
|
|||||||
currencyCommands = ['xe', 'yahoo']
|
currencyCommands = ['xe', 'yahoo']
|
||||||
threaded = True
|
threaded = True
|
||||||
|
|
||||||
_symbolError = 'Currency must be denoted by it\'s 3-letter symbol.'
|
_symbolError = 'Currency must be denoted by its three-letter symbol.'
|
||||||
def convert(self, irc, msg, args):
|
def convert(self, irc, msg, args):
|
||||||
# This specifically does not have a docstring.
|
# This specifically does not have a docstring.
|
||||||
channel = None
|
channel = None
|
||||||
|
Loading…
Reference in New Issue
Block a user