mirror of
https://github.com/Mikaela/Limnoria.git
synced 2024-11-07 19:49:23 +01:00
Change assert message.
This commit is contained in:
parent
400c9aa7a3
commit
93e9fa3180
@ -542,9 +542,7 @@ class IrcObjectProxy(RichReplyMethods):
|
|||||||
"A proxy object to allow proper nested of commands (even threaded ones)."
|
"A proxy object to allow proper nested of commands (even threaded ones)."
|
||||||
def __init__(self, irc, msg, args, nested=0):
|
def __init__(self, irc, msg, args, nested=0):
|
||||||
log.verbose('IrcObjectProxy.__init__: %s' % args)
|
log.verbose('IrcObjectProxy.__init__: %s' % args)
|
||||||
assert isinstance(args, list), \
|
assert isinstance(args, list), 'Args should be a list, not a string.'
|
||||||
'Args should be a list. Don\'t call this with a string, it\s' \
|
|
||||||
'baaad.'
|
|
||||||
self.irc = irc
|
self.irc = irc
|
||||||
self.msg = msg
|
self.msg = msg
|
||||||
self.nested = nested
|
self.nested = nested
|
||||||
|
Loading…
Reference in New Issue
Block a user