Fixed DefExpr.__str__

This commit is contained in:
Daniel Neuhäuser
2010-05-09 00:54:14 +02:00
parent bcbce5955f
commit 5243c56d7a

View File

@@ -110,7 +110,7 @@ class DefinitionError(Exception):
return self.description
def __str__(self):
return unicode(self.encode('utf-8'))
return unicode(self).encode('utf-8')
class DefExpr(object):