[TASK] Add single quotes to Message representation.

This commit is contained in:
Jan Philipp Timme 2015-10-25 12:56:07 +01:00
parent 906f2a6fa5
commit 82dcbed476
1 changed files with 1 additions and 1 deletions

2
irc.py
View File

@ -69,7 +69,7 @@ class Message(object):
for key in items:
if key == "data":
continue
e.append(key+"="+str(items[key]))
e.append(key+"='"+str(items[key])+"'")
return "<" + self.__class__.__name__ + " " + ", ".join(e) + ">"
def __str__(self):