diff options
Diffstat (limited to 'ipalib/text.py')
-rw-r--r-- | ipalib/text.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/ipalib/text.py b/ipalib/text.py index 160213eb8..9afe4d300 100644 --- a/ipalib/text.py +++ b/ipalib/text.py @@ -120,6 +120,9 @@ import six from ipalib.request import context +if six.PY3: + unicode = str + def create_translation(key): assert key not in context.__dict__ |