ircmsgs.IrcMsg: Display args in case of AssertionError.

This commit is contained in:
Valentin Lorentz 2013-05-21 19:38:55 +02:00
parent 58befaee5c
commit ba6e2fff6f

View File

@ -130,7 +130,7 @@ class IrcMsg(object):
else:
self.prefix = prefix
self.command = command
assert all(ircutils.isValidArgument, args)
assert all(ircutils.isValidArgument, args), args
self.args = args
self.args = tuple(self.args)
if isUserHostmask(self.prefix):