270: show-plugins now only shows namespaces with at least one member

This commit is contained in:
Jason Gerard DeRose
2008-09-08 21:44:53 +00:00
parent 03fd184e8e
commit cb9c442708

View File

@@ -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)