summaryrefslogtreecommitdiffstats
path: root/ipalib/cli.py
diff options
context:
space:
mode:
authorJason Gerard DeRose <jderose@redhat.com>2008-10-27 23:39:43 -0600
committerJason Gerard DeRose <jderose@redhat.com>2008-10-27 23:39:43 -0600
commit83d6c95e4636049a5bcedb533ad49f6e2cf79dfe (patch)
tree4e89cfb19c8f68557ebb2e49005d3643dc1e5433 /ipalib/cli.py
parent6e456cc7494bc00e905361f3e6d42dff99089c6b (diff)
downloadfreeipa.git-83d6c95e4636049a5bcedb533ad49f6e2cf79dfe.tar.gz
freeipa.git-83d6c95e4636049a5bcedb533ad49f6e2cf79dfe.tar.xz
freeipa.git-83d6c95e4636049a5bcedb533ad49f6e2cf79dfe.zip
API.load_plugins() no longer takes dry_run=False kwarg and instead checks in env.mode == 'unit_test' to decide whether to load the plugins; it also only loads ipa_server.plugins in env.in_server is True
Diffstat (limited to 'ipalib/cli.py')
-rw-r--r--ipalib/cli.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/ipalib/cli.py b/ipalib/cli.py
index 671d4053..3613dfeb 100644
--- a/ipalib/cli.py
+++ b/ipalib/cli.py
@@ -245,7 +245,7 @@ class CLI(object):
"""
self.__doing('run')
self.finalize()
- if self.api.env.mode == 'unit-test':
+ if self.api.env.mode == 'unit_test':
return
if len(self.cmd_argv) < 1:
self.print_commands()