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

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

No files matched your search

+1 -1
View File
@@ -21,4 +21,4 @@
Sub-package containing all internal plugins.
"""
print 'imported Plugins'
import example
+3 -2
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):
+2 -2
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