diff options
Diffstat (limited to 'ipaserver/install/plugins/rename_managed.py')
-rw-r--r-- | ipaserver/install/plugins/rename_managed.py | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/ipaserver/install/plugins/rename_managed.py b/ipaserver/install/plugins/rename_managed.py index 4b42d48dc..873c3ddb0 100644 --- a/ipaserver/install/plugins/rename_managed.py +++ b/ipaserver/install/plugins/rename_managed.py @@ -17,11 +17,17 @@ # You should have received a copy of the GNU General Public License # along with this program. If not, see <http://www.gnu.org/licenses/>. +import six + from ipalib import api, errors from ipalib import Updater from ipapython import ipautil from ipapython.dn import DN +if six.PY3: + unicode = str + + def entry_to_update(entry): """ Convert an entry into a name/value pair list that looks like an update. |