summaryrefslogtreecommitdiffstats
path: root/ipa-client
diff options
context:
space:
mode:
Diffstat (limited to 'ipa-client')
-rw-r--r--ipa-client/ipaclient/ipachangeconf.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/ipa-client/ipaclient/ipachangeconf.py b/ipa-client/ipaclient/ipachangeconf.py
index a1ebb4f63..ef4c98776 100644
--- a/ipa-client/ipaclient/ipachangeconf.py
+++ b/ipa-client/ipaclient/ipachangeconf.py
@@ -24,6 +24,10 @@ import string
import time
import shutil
+import six
+
+if six.PY3:
+ unicode = str
def openLocked(filename, perms):
fd = -1