mirror of
https://salsa.debian.org/freeipa-team/freeipa.git
synced 2026-09-03 20:52:56 -05:00
ipaplatform: Move all filesystem paths to ipaplatform.paths module
https://fedorahosted.org/freeipa/ticket/4052 Reviewed-By: Petr Viktorin <pviktori@redhat.com>
This commit is contained in:
committed by
Petr Viktorin
parent
c7edd7b68c
commit
4d2ef43f28
+2
-1
@@ -23,6 +23,7 @@ from copy import copy
|
||||
from dns import resolver, rdatatype
|
||||
from dns.exception import DNSException
|
||||
from ipapython.dn import DN
|
||||
from ipaplatform.paths import paths
|
||||
import dns.name
|
||||
|
||||
import socket
|
||||
@@ -152,7 +153,7 @@ config = IPAConfig()
|
||||
|
||||
def __parse_config(discover_server = True):
|
||||
p = ConfigParser.SafeConfigParser()
|
||||
p.read("/etc/ipa/default.conf")
|
||||
p.read(paths.IPA_DEFAULT_CONF)
|
||||
|
||||
try:
|
||||
if not config.default_realm:
|
||||
|
||||
Reference in New Issue
Block a user