support python3

This commit is contained in:
Emmanuel Garette 2016-10-21 10:00:44 +02:00
parent 4f8b796eaa
commit 4e8d780929
1 changed files with 1 additions and 1 deletions

View File

@ -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__()
#____________________________________________________________ #____________________________________________________________