mirror of
https://salsa.debian.org/freeipa-team/freeipa.git
synced 2025-02-25 18:55:28 -06:00
133: Renamed run.py to api.py
This commit is contained in:
2
ipa
2
ipa
@@ -26,7 +26,7 @@ Just proof of concept stuff in here right now.
|
||||
"""
|
||||
|
||||
import sys
|
||||
from ipalib.run import api
|
||||
from ipalib.api import api
|
||||
from ipalib.cli import CLI
|
||||
import ipalib.load_plugins
|
||||
|
||||
|
||||
@@ -18,8 +18,7 @@
|
||||
# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
||||
|
||||
"""
|
||||
Standard run-time instances of importard classes. This is where plugins
|
||||
should access the registration API.
|
||||
Standard instances of plugable.API and its subclasses.
|
||||
"""
|
||||
|
||||
import public
|
||||
@@ -20,8 +20,11 @@
|
||||
"""
|
||||
Importing this module causes the plugins to be loaded.
|
||||
|
||||
This is not in __init__.py so that importing other ipalib or its other
|
||||
modules does not cause unnecessary side effects.
|
||||
This is not in __init__.py so that importing ipalib or its other sub-modules
|
||||
does not cause unnecessary side effects.
|
||||
|
||||
Eventually this will also load the out-of tree plugins, but for now it just
|
||||
loads the internal plugins.
|
||||
"""
|
||||
|
||||
import plugins
|
||||
|
||||
@@ -23,7 +23,7 @@ Some example plugins.
|
||||
|
||||
|
||||
from ipalib import public
|
||||
from ipalib.run import api
|
||||
from ipalib.api import api
|
||||
|
||||
|
||||
# Hypothetical functional commands (not associated with any object):
|
||||
|
||||
Reference in New Issue
Block a user