mirror of
https://salsa.debian.org/freeipa-team/freeipa.git
synced 2025-02-25 18:55:28 -06:00
128: Fixed startup.py, example.py to work with new plugin locations
This commit is contained in:
parent
ba6cb2bf92
commit
e9b715f2c4
@ -21,4 +21,4 @@
|
|||||||
Sub-package containing all internal plugins.
|
Sub-package containing all internal plugins.
|
||||||
"""
|
"""
|
||||||
|
|
||||||
print 'imported Plugins'
|
import example
|
||||||
|
@ -21,8 +21,9 @@
|
|||||||
Some example plugins.
|
Some example plugins.
|
||||||
"""
|
"""
|
||||||
|
|
||||||
import public
|
|
||||||
from run import api
|
from ipalib import public
|
||||||
|
from ipalib.run import api
|
||||||
|
|
||||||
|
|
||||||
# Hypothetical functional commands (not associated with any object):
|
# Hypothetical functional commands (not associated with any object):
|
||||||
|
@ -21,9 +21,9 @@
|
|||||||
Importing this module causes the plugins to be loaded and the API to be
|
Importing this module causes the plugins to be loaded and the API to be
|
||||||
generated.
|
generated.
|
||||||
|
|
||||||
This is not in __init__.py so that imported other IPA modules doesn't cause
|
This is not in __init__.py so that importing other IPA modules doesn't cause
|
||||||
unnecessary side effects (needed for unit tests, among other things).
|
unnecessary side effects (needed for unit tests, among other things).
|
||||||
"""
|
"""
|
||||||
|
|
||||||
from run import api
|
from run import api
|
||||||
import plugins
|
import Plugins
|
||||||
|
Loading…
Reference in New Issue
Block a user