# HG changeset patch # User Charly COSTE # Date 1269366418 -3600 # Node ID 18c9e8b823bcc302c6f2f4f1dc24c02b406b1c62 # Parent 7640a3feddf5c664e70634d496f0255cc38c35a9 (irclib) minor fix, better UnknownChannel arguments Signed-off-by: Charly COSTE diff --git a/irclib.py b/irclib.py --- a/irclib.py +++ b/irclib.py @@ -1013,7 +1013,7 @@ class ServerConnection(Connection): try: self.channels[channels].part(message=message) except KeyError: - raise UnknownChannel, (channels, message, self) + raise UnknownChannel, (channels, message, str(self)) else: for channel in channels: try: