summaryrefslogtreecommitdiffstats
path: root/ipalib/Plugins
diff options
context:
space:
mode:
authorJason Gerard DeRose <jderose@redhat.com>2008-08-13 00:56:46 +0000
committerJason Gerard DeRose <jderose@redhat.com>2008-08-13 00:56:46 +0000
commite9b715f2c430940d94bfedd6dbf9b1010eb22ffc (patch)
treeba2cb509ef3be6a0f1db482c90365692e6c96fba /ipalib/Plugins
parentba6cb2bf924327a580e1b410924f4f6419a75d16 (diff)
downloadfreeipa-e9b715f2c430940d94bfedd6dbf9b1010eb22ffc.tar.gz
freeipa-e9b715f2c430940d94bfedd6dbf9b1010eb22ffc.tar.xz
freeipa-e9b715f2c430940d94bfedd6dbf9b1010eb22ffc.zip
128: Fixed startup.py, example.py to work with new plugin locations
Diffstat (limited to 'ipalib/Plugins')
-rw-r--r--ipalib/Plugins/__init__.py2
-rw-r--r--ipalib/Plugins/example.py5
2 files changed, 4 insertions, 3 deletions
diff --git a/ipalib/Plugins/__init__.py b/ipalib/Plugins/__init__.py
index e63256490..743eedb99 100644
--- a/ipalib/Plugins/__init__.py
+++ b/ipalib/Plugins/__init__.py
@@ -21,4 +21,4 @@
Sub-package containing all internal plugins.
"""
-print 'imported Plugins'
+import example
diff --git a/ipalib/Plugins/example.py b/ipalib/Plugins/example.py
index c8eede0b2..49b3d49c4 100644
--- a/ipalib/Plugins/example.py
+++ b/ipalib/Plugins/example.py
@@ -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):