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: else:
# This should've been caught earlier, that's why we # This should've been caught earlier, that's why we
# assert instead of raising a ValueError or something. # assert instead of raising a ValueError or something.
assert False, 'Non-disambiguated command.' assert False,'Non-disambiguated command: args=%r'%self.args
else: else:
del self.args[0] del self.args[0]
cb = cbs[0] cb = cbs[0]