mirror of
https://github.com/Mikaela/Limnoria.git
synced 2024-11-23 11:09:23 +01:00
More useful assert.
This commit is contained in:
parent
9c8c505de5
commit
dd7b02fb54
@ -607,7 +607,7 @@ class IrcObjectProxy(RichReplyMethods):
|
||||
else:
|
||||
# This should've been caught earlier, that's why we
|
||||
# assert instead of raising a ValueError or something.
|
||||
assert False, 'Non-disambiguated command.'
|
||||
assert False,'Non-disambiguated command: args=%r'%self.args
|
||||
else:
|
||||
del self.args[0]
|
||||
cb = cbs[0]
|
||||
|
Loading…
Reference in New Issue
Block a user