[TASK] Add single quotes to Message representation.
This commit is contained in:
parent
906f2a6fa5
commit
82dcbed476
2
irc.py
2
irc.py
|
@ -69,7 +69,7 @@ class Message(object):
|
||||||
for key in items:
|
for key in items:
|
||||||
if key == "data":
|
if key == "data":
|
||||||
continue
|
continue
|
||||||
e.append(key+"="+str(items[key]))
|
e.append(key+"='"+str(items[key])+"'")
|
||||||
return "<" + self.__class__.__name__ + " " + ", ".join(e) + ">"
|
return "<" + self.__class__.__name__ + " " + ", ".join(e) + ">"
|
||||||
|
|
||||||
def __str__(self):
|
def __str__(self):
|
||||||
|
|
Loading…
Reference in New Issue