mirror of
https://salsa.debian.org/freeipa-team/freeipa.git
synced 2026-11-03 04:40:31 -06: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:
1 parent
c7edd7b68c
commit
4d2ef43f28
61 files changed
+743
-470
No files matched your search
+2
-1
@@ -59,6 +59,7 @@ from ipalib.util import get_current_principal
|
||||
from ipapython.ipa_log_manager import root_logger
|
||||
from ipapython import ipautil
|
||||
from ipapython import kernel_keyring
|
||||
from ipaplatform.paths import paths
|
||||
from ipapython.cookie import Cookie
|
||||
from ipapython.dnsutil import DNSName
|
||||
from ipalib.text import _
|
||||
@@ -482,7 +483,7 @@ class SSLTransport(LanguageAwareTransport):
|
||||
if self._connection and host == self._connection[0]:
|
||||
return self._connection[1]
|
||||
|
||||
dbdir = '/etc/pki/nssdb'
|
||||
dbdir = paths.NSS_DB_DIR
|
||||
no_init = self.__nss_initialized(dbdir)
|
||||
if sys.version_info < (2, 7):
|
||||
conn = NSSHTTPS(host, 443, dbdir=dbdir, no_init=no_init)
|
||||
|
||||
Reference in new issue
Block a user