diff options
Diffstat (limited to 'ipapython/sysrestore.py')
-rw-r--r-- | ipapython/sysrestore.py | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/ipapython/sysrestore.py b/ipapython/sysrestore.py index 24ddc9a47..8ce8e4b7a 100644 --- a/ipapython/sysrestore.py +++ b/ipapython/sysrestore.py @@ -31,10 +31,15 @@ import ConfigParser import random import string +import six + from ipapython import ipautil from ipaplatform.tasks import tasks from ipaplatform.paths import paths +if six.PY3: + unicode = str + SYSRESTORE_PATH = paths.TMP SYSRESTORE_INDEXFILE = "sysrestore.index" SYSRESTORE_STATEFILE = "sysrestore.state" |