summaryrefslogtreecommitdiffstats
path: root/ipalib/messages.py
diff options
context:
space:
mode:
Diffstat (limited to 'ipalib/messages.py')
-rw-r--r--ipalib/messages.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/ipalib/messages.py b/ipalib/messages.py
index da8f740be..375da2443 100644
--- a/ipalib/messages.py
+++ b/ipalib/messages.py
@@ -40,6 +40,8 @@ from ipalib.text import _ as ugettext
from ipalib.text import Gettext, NGettext
from ipalib.capabilities import client_has_capability
+if six.PY3:
+ unicode = str
def add_message(version, result, message):
if client_has_capability(version, 'messages'):