src/i18n.py: Use 'str' as a base class instead of 'unicode'.

This commit is contained in:
Valentin Lorentz 2012-08-05 13:48:11 +02:00
parent 041893aaf9
commit 089be4c8a5

View File

@ -330,7 +330,7 @@ class internationalizedFunction:
def __call__(self, *args, **kwargs):
return self._origin(*args, **kwargs)
class internationalizedString(unicode):
class internationalizedString(str):
"""Simple subclass to str, that allow to add attributes. Also used to
know if a string is already localized"""
pass