summaryrefslogtreecommitdiffstats
path: root/ipalib/cli.py
diff options
context:
space:
mode:
authorJan Cholasta <jcholast@redhat.com>2016-06-08 14:38:23 +0200
committerJan Cholasta <jcholast@redhat.com>2016-06-15 14:03:51 +0200
commit4128c565ea716625b8510a476222690f0297ab8c (patch)
tree6c74c2a0d69499bcf89216eb83508d5ebec986e2 /ipalib/cli.py
parentbebdce89b6075f77beb36ce194b36ad4d7104ca3 (diff)
downloadfreeipa-4128c565ea716625b8510a476222690f0297ab8c.tar.gz
freeipa-4128c565ea716625b8510a476222690f0297ab8c.tar.xz
freeipa-4128c565ea716625b8510a476222690f0297ab8c.zip
plugable: initialize plugins on demand
Use a new API namespace class which does not initialize plugins until they are accessed. https://fedorahosted.org/freeipa/ticket/4739 Reviewed-By: David Kupka <dkupka@redhat.com>
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 0de268249..374429f46 100644
--- a/ipalib/cli.py
+++ b/ipalib/cli.py
@@ -967,7 +967,7 @@ class show_api(frontend.Command):
continue
for n in member:
attr = member[n]
- if isinstance(attr, plugable.NameSpace) and len(attr) > 0:
+ if isinstance(attr, plugable.APINameSpace) and len(attr) > 0:
self.__traverse_namespace(n, attr, lines, tab + 2)