use repr() instead of str() to print diagnostics

This commit is contained in:
David Rose 2006-10-24 17:11:45 +00:00
parent 1373705582
commit 860a8f16ca
1 changed files with 2 additions and 2 deletions

View File

@ -395,9 +395,9 @@ class Messenger:
# Print out the object: event dictionary too
str += "="*64 + "\n"
for object, eventDict in self.__objectEvents.items():
str += "%s:\n" % object
str += "%s:\n" % repr(object)
for event in eventDict.keys():
str += " %s\n" % event
str += " %s\n" % repr(event)
str += "="*64 + "\n" + "End of messenger info.\n"
return str