270: show-plugins now only shows namespaces with at least one member
This commit is contained in:
1 parent
03fd184e8e
commit
cb9c442708
1 file changed
+1
-1
+1
-1
@@ -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)
|
||||
|
||||
|
||||
|
||||
Reference in new issue
Block a user