support python3
authorEmmanuel Garette <egarette@cadoles.com>
Fri, 21 Oct 2016 08:00:44 +0000 (10:00 +0200)
committerEmmanuel Garette <egarette@cadoles.com>
Fri, 21 Oct 2016 08:00:44 +0000 (10:00 +0200)
tiramisu/error.py

index aa035b1..ba7b96e 100644 (file)
@@ -52,7 +52,7 @@ class PropertiesOptionError(AttributeError):
             msg = display_list(msg)
             return _('cannot access to {0} {1} because has {2} {3}').format(self._type, self._datas['path'], prop_msg, msg)
         else:
-            return self.message
+            return super(PropertiesOptionError, self).__str__()
 
 
 #____________________________________________________________