summaryrefslogtreecommitdiffstats
path: root/ipalib/text.py
diff options
context:
space:
mode:
Diffstat (limited to 'ipalib/text.py')
-rw-r--r--ipalib/text.py3
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__