mirror of
https://salsa.debian.org/freeipa-team/freeipa.git
synced 2025-01-11 00:31:56 -06:00
Delay import of SSSDConfig
SSSDConfig is not available on PyPI. Reviewed-By: Alexander Bokovoy <abokovoy@redhat.com>
This commit is contained in:
parent
74f3ca5db0
commit
289f9c7e25
@ -34,7 +34,6 @@ import time
|
||||
import dns
|
||||
from ldif import LDIFWriter
|
||||
import pytest
|
||||
from SSSDConfig import SSSDConfig
|
||||
from cryptography import x509
|
||||
from cryptography.hazmat.primitives import serialization
|
||||
from cryptography.hazmat.primitives.asymmetric import rsa
|
||||
@ -762,6 +761,7 @@ def modify_sssd_conf(host, domain, mod_dict, provider='ipa',
|
||||
:param provider_subtype: backend subtype (e.g. id or sudo), will be added
|
||||
to the domain config if not present
|
||||
"""
|
||||
from SSSDConfig import SSSDConfig
|
||||
fd, temp_config_file = tempfile.mkstemp()
|
||||
os.close(fd)
|
||||
try:
|
||||
|
Loading…
Reference in New Issue
Block a user