obi ls: improved taxonomy list
This commit is contained in:
1 parent
7c3fa14789
commit
9e72c8d16a
1 file changed
+5
-2
@@ -42,9 +42,12 @@ def run(config):
|
||||
else:
|
||||
print(repr(input[1]))
|
||||
if input[2] == DMS:
|
||||
print("\n### Taxonomies:")
|
||||
taxolist = ["\n### Taxonomies:"]
|
||||
for t in Taxonomy.list_taxos(input[0]):
|
||||
print("\t", tostr(t))
|
||||
taxolist.append("\t"+tostr(t))
|
||||
if len(taxolist) > 1:
|
||||
for t in taxolist:
|
||||
print(t)
|
||||
if config['ls']['longformat'] and len(input[1].comments) > 0:
|
||||
print("\n### Comments:")
|
||||
print(str(input[1].comments))
|
||||
|
||||
Reference in new issue
Block a user