More useful assert.

This commit is contained in:
Jeremy Fincher 2004-09-11 16:14:43 +00:00
parent 9c8c505de5
commit dd7b02fb54

View File

@ -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]