Skip to content

Commit

Permalink
#3 Removed debug output.
Browse files Browse the repository at this point in the history
  • Loading branch information
hiker committed May 13, 2024
1 parent 8987f99 commit eee5043
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion source/fab/parse/fortran_common.py
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,6 @@ def _typed_child(parent, child_type: Type, must_exist=False):
# Returns the child or None.
# Raises ValueError if more than one child of the given type is found.
children = list(filter(lambda child: isinstance(child, child_type), parent.children))
print(children)
if len(children) > 1:
raise ValueError(f"too many children found of type {child_type}")

Expand Down

0 comments on commit eee5043

Please sign in to comment.