mirror of
https://salsa.debian.org/freeipa-team/freeipa.git
synced 2025-02-25 18:55:28 -06:00
130: Renamed startup.py to load_plugins.py
This commit is contained in:
3
ipa
3
ipa
@@ -26,8 +26,9 @@ Just proof of concept stuff in here right now.
|
|||||||
"""
|
"""
|
||||||
|
|
||||||
import sys
|
import sys
|
||||||
from ipalib.startup import api
|
from ipalib.run import api
|
||||||
from ipalib.cli import CLI
|
from ipalib.cli import CLI
|
||||||
|
import ipalib.load_plugins
|
||||||
|
|
||||||
cli = CLI(api)
|
cli = CLI(api)
|
||||||
cli.run()
|
cli.run()
|
||||||
|
|||||||
@@ -18,12 +18,10 @@
|
|||||||
# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
||||||
|
|
||||||
"""
|
"""
|
||||||
Importing this module causes the plugins to be loaded and the API to be
|
Importing this module causes the plugins to be loaded.
|
||||||
generated.
|
|
||||||
|
|
||||||
This is not in __init__.py so that importing other IPA modules doesn't cause
|
This is not in __init__.py so that importing other ipalib or its other
|
||||||
unnecessary side effects (needed for unit tests, among other things).
|
modules does not cause unnecessary side effects.
|
||||||
"""
|
"""
|
||||||
|
|
||||||
from run import api
|
|
||||||
import Plugins
|
import Plugins
|
||||||
Reference in New Issue
Block a user