summaryrefslogtreecommitdiffstats
path: root/ipaserver/install/server/install.py
diff options
context:
space:
mode:
Diffstat (limited to 'ipaserver/install/server/install.py')
-rw-r--r--ipaserver/install/server/install.py5
1 files changed, 5 insertions, 0 deletions
diff --git a/ipaserver/install/server/install.py b/ipaserver/install/server/install.py
index 943076c29..dcdfa59d0 100644
--- a/ipaserver/install/server/install.py
+++ b/ipaserver/install/server/install.py
@@ -13,6 +13,8 @@ import sys
import tempfile
import textwrap
+import six
+
from ipapython import certmonger, dogtag, ipaldap, ipautil, sysrestore
from ipapython.dn import DN
from ipapython.install import common, core
@@ -38,6 +40,9 @@ from ipaserver.install.installutils import (
update_hosts_file)
from ipaserver.plugins.ldap2 import ldap2
+if six.PY3:
+ unicode = str
+
try:
from ipaserver.install import adtrustinstance
_server_trust_ad_installed = True