summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJason Gerard DeRose <jderose@redhat.com>2008-08-13 01:03:32 +0000
committerJason Gerard DeRose <jderose@redhat.com>2008-08-13 01:03:32 +0000
commit13a3de7442570c47da2ccc76c15a0e6b0d9edea1 (patch)
tree25ae0988ce011fcac515b9e1613e4cd7b20fd9b0
parent8212be5c4bac78d7be8e6153b5c13bbb969d00f5 (diff)
downloadfreeipa-13a3de7442570c47da2ccc76c15a0e6b0d9edea1.tar.gz
freeipa-13a3de7442570c47da2ccc76c15a0e6b0d9edea1.tar.xz
freeipa-13a3de7442570c47da2ccc76c15a0e6b0d9edea1.zip
130: Renamed startup.py to load_plugins.py
-rwxr-xr-xipa3
-rw-r--r--ipalib/load_plugins.py (renamed from ipalib/startup.py)8
2 files changed, 5 insertions, 6 deletions
diff --git a/ipa b/ipa
index c7168bfe9..e9089d97e 100755
--- a/ipa
+++ b/ipa
@@ -26,8 +26,9 @@ Just proof of concept stuff in here right now.
"""
import sys
-from ipalib.startup import api
+from ipalib.run import api
from ipalib.cli import CLI
+import ipalib.load_plugins
cli = CLI(api)
cli.run()
diff --git a/ipalib/startup.py b/ipalib/load_plugins.py
index 305295c71..a477ba253 100644
--- a/ipalib/startup.py
+++ b/ipalib/load_plugins.py
@@ -18,12 +18,10 @@
# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
"""
-Importing this module causes the plugins to be loaded and the API to be
-generated.
+Importing this module causes the plugins to be loaded.
-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).
+This is not in __init__.py so that importing other ipalib or its other
+modules does not cause unnecessary side effects.
"""
-from run import api
import Plugins