mirror of
https://salsa.debian.org/freeipa-team/freeipa.git
synced 2025-02-25 18:55:28 -06:00
270: show-plugins now only shows namespaces with at least one member
This commit is contained in:
@@ -99,7 +99,7 @@ class show_plugins(public.Application):
|
|||||||
continue
|
continue
|
||||||
for n in member:
|
for n in member:
|
||||||
attr = member[n]
|
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)
|
self.__traverse_namespace(n, attr, lines, tab + 2)
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user