diff options
author | Jason Gerard DeRose <jderose@redhat.com> | 2008-09-08 21:44:53 +0000 |
---|---|---|
committer | Jason Gerard DeRose <jderose@redhat.com> | 2008-09-08 21:44:53 +0000 |
commit | cb9c44270819c080f899fe7678f7f319686e681d (patch) | |
tree | b653820982fac7cb188658bbef0965521b906f4f | |
parent | 03fd184e8e7459ac2a0c01c79259054f44721ca2 (diff) | |
download | freeipa.git-cb9c44270819c080f899fe7678f7f319686e681d.tar.gz freeipa.git-cb9c44270819c080f899fe7678f7f319686e681d.tar.xz freeipa.git-cb9c44270819c080f899fe7678f7f319686e681d.zip |
270: show-plugins now only shows namespaces with at least one member
-rw-r--r-- | ipalib/cli.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ipalib/cli.py b/ipalib/cli.py index db3e0137..048f49ff 100644 --- a/ipalib/cli.py +++ b/ipalib/cli.py @@ -99,7 +99,7 @@ class show_plugins(public.Application): continue for n in member: attr = member[n] - if isinstance(attr, plugable.NameSpace): + if isinstance(attr, plugable.NameSpace) and len(attr) > 0: self.__traverse_namespace(n, attr, lines, tab + 2) |