128: Fixed startup.py, example.py to work with new plugin locations

This commit is contained in:
Jason Gerard DeRose 2008-08-13 00:56:46 +00:00
parent ba6cb2bf92
commit e9b715f2c4
3 changed files with 6 additions and 5 deletions

View File

@ -21,4 +21,4 @@
Sub-package containing all internal plugins.
"""
print 'imported Plugins'
import example

View File

@ -21,8 +21,9 @@
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):

View File

@ -21,9 +21,9 @@
Importing this module causes the plugins to be loaded and the API to be
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).
"""
from run import api
import plugins
import Plugins