From 522cbb23f129033f836e40282ca41e76d315cbe3 Mon Sep 17 00:00:00 2001 From: Martin Basti Date: Mon, 27 Apr 2015 14:42:31 +0200 Subject: move realm_to_serverid to installutils module To avoid cyclic imports realm_to_serverid function had to be moved to installutils from dsinstance. Required for: https://fedorahosted.org/freeipa/ticket/4925 Reviewed-By: Martin Babinsky --- install/tools/ipactl | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'install/tools/ipactl') diff --git a/install/tools/ipactl b/install/tools/ipactl index b37f55575..52dfe67dd 100755 --- a/install/tools/ipactl +++ b/install/tools/ipactl @@ -25,7 +25,7 @@ import json import ldapurl from ipaserver.install import service, installutils -from ipaserver.install.dsinstance import config_dirname, realm_to_serverid +from ipaserver.install.dsinstance import config_dirname from ipaserver.install.installutils import is_ipa_configured, ScriptError from ipalib import api, errors from ipapython.ipaldap import IPAdmin @@ -53,7 +53,7 @@ def is_dirsrv_debugging_enabled(): returns True or False """ debugging = False - serverid = realm_to_serverid(api.env.realm) + serverid = installutils.realm_to_serverid(api.env.realm) dselist = [config_dirname(serverid)] for dse in dselist: try: -- cgit