summaryrefslogtreecommitdiffstats
path: root/ipalib/util.py
diff options
context:
space:
mode:
Diffstat (limited to 'ipalib/util.py')
-rw-r--r--ipalib/util.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/ipalib/util.py b/ipalib/util.py
index 5a761fb0f..7c7da6af7 100644
--- a/ipalib/util.py
+++ b/ipalib/util.py
@@ -46,6 +46,9 @@ from ipapython.dn import DN, RDN
from ipapython.dnsutil import DNSName
from ipapython.graph import Graph
+if six.PY3:
+ unicode = str
+
def json_serialize(obj):
if isinstance(obj, (list, tuple)):