Skip to content

Commit

Permalink
Comment out logging for nodes with no documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
Kosinkadink committed Aug 15, 2024
1 parent 55c6889 commit bbb3ca5
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions adv_control/documentation.py
Original file line number Diff line number Diff line change
Expand Up @@ -38,10 +38,10 @@ def format_descriptions(nodes):
if k.endswith("_collapsed"):
k = k[:-len("_collapsed")]
nodes[k].DESCRIPTION = as_html(descriptions[k])
undocumented_nodes = []
for k in nodes:
if not hasattr(nodes[k], "DESCRIPTION"):
undocumented_nodes.append(k)
if len(undocumented_nodes) > 0:
logger.info(f"Undocumented nodes: {undocumented_nodes}")
# undocumented_nodes = []
# for k in nodes:
# if not hasattr(nodes[k], "DESCRIPTION"):
# undocumented_nodes.append(k)
# if len(undocumented_nodes) > 0:
# logger.info(f"Undocumented nodes: {undocumented_nodes}")

0 comments on commit bbb3ca5

Please sign in to comment.