[svn r45647] use repr() rather than direct return

--HG--
branch : trunk
This commit is contained in:
fijal 2007-08-14 11:47:27 +02:00
parent 5318f7b145
commit a7a95973eb
1 changed files with 1 additions and 1 deletions

View File

@ -9,7 +9,7 @@ class Outcome:
def __repr__(self):
if self.msg:
return self.msg
return repr(self.msg)
return "<%s instance>" %(self.__class__.__name__,)
__str__ = __repr__