@@ -5,3 +5,6 @@ from textwrap import dedent
class UserError(Exception):
def __init__(self, msg):
self.msg = dedent(msg).strip()
+
+ def __unicode__(self):
+ return self.msg