Use server API in com.redhat.idm.trust-fetch-domains oddjob helper

https://fedorahosted.org/freeipa/ticket/6082

Reviewed-By: Alexander Bokovoy <abokovoy@redhat.com>
This commit is contained in:
Martin Babinsky 2016-07-14 09:31:22 +02:00 committed by Martin Basti
parent 6a072f3c5c
commit b144bf527d

View File

@ -76,7 +76,7 @@ env._bootstrap(debug=options.debug, log=None)
env._finalize_core(**dict(DEFAULT_CONFIG))
# Initialize the API with the proper debug level
api.bootstrap(debug=env.debug, log=None)
api.bootstrap(in_server=True, debug=env.debug, log=None)
api.finalize()
# Only import trust plugin after api is initialized or internal imports