Skip to content
Snippets Groups Projects
Commit 4d94cb09 authored by Thomas Woerner's avatar Thomas Woerner
Browse files

ansible_freeipa_module: Import ipalib.errors as ipalib_errors

For beeing able to catch ipalib.errors.NotFound errors in ipahost it is
needed to import ipalib.errors. ipalib.errors is now imported as
ipalib_errors to not have name conflicts with the errors list used in some
of the modules.

Related: https://bugzilla.redhat.com/show_bug.cgi?id=1804838
parent 22d8784d
No related branches found
No related tags found
No related merge requests found
......@@ -28,6 +28,7 @@ import shutil
import gssapi
from datetime import datetime
from ipalib import api
from ipalib import errors as ipalib_errors
from ipalib.config import Env
from ipalib.constants import DEFAULT_CONFIG, LDAP_GENERALIZED_TIME_FORMAT
try:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment