If I try to create a custom api with something like:
myapi = create_api(mode=None)
myapi.finalize()

I get back a stacktrace in the aci plugin.

The aci plugin assumes the general 'api' has been already inizialized
and dereferences directly api.env.container_user and other stuff.

Do I always have to api.finalize() before creating new api objects ?
Is there a way to load only the env (all I am really interested in)
without loading any plugin ?

Simo.

-- 
Simo Sorce * Red Hat, Inc * New York

-- 
Manage your subscription for the Freeipa-devel mailing list:
https://www.redhat.com/mailman/listinfo/freeipa-devel
Contribute to FreeIPA: http://www.freeipa.org/page/Contribute/Code

Reply via email to