support python3
This commit is contained in:
parent
4f8b796eaa
commit
4e8d780929
|
@ -52,7 +52,7 @@ class PropertiesOptionError(AttributeError):
|
||||||
msg = display_list(msg)
|
msg = display_list(msg)
|
||||||
return _('cannot access to {0} {1} because has {2} {3}').format(self._type, self._datas['path'], prop_msg, msg)
|
return _('cannot access to {0} {1} because has {2} {3}').format(self._type, self._datas['path'], prop_msg, msg)
|
||||||
else:
|
else:
|
||||||
return self.message
|
return super(PropertiesOptionError, self).__str__()
|
||||||
|
|
||||||
|
|
||||||
#____________________________________________________________
|
#____________________________________________________________
|
||||||
|
|
Loading…
Reference in New Issue