URL: https://github.com/freeipa/freeipa/pull/258
Title: #258: Break ipaplatform / ipalib import cycle of hell

tiran commented:
It's no longer a priority, but I still like to fix the imports No matter what 
the cyclic imports and cross-package dependencies are a mess. A wrong order of 
imports can trigger an import error. Even with this PR, ipapython.dogtag 
triggers an import of ipalib.api.

In the long run neither ipaplatform nor ipapython should have an import 
dependency on ipalib or a global ipalib.api object. Instead the API object 
should be passed.

See the full comment at 
Manage your subscription for the Freeipa-devel mailing list:
Contribute to FreeIPA: http://www.freeipa.org/page/Contribute/Code

Reply via email to