Skip to content

Commit

Permalink
expand comment describing use of pass
Browse files Browse the repository at this point in the history
  • Loading branch information
braingram committed May 7, 2024
1 parent 0c63836 commit c012e70
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion asdf/_node_info.py
Original file line number Diff line number Diff line change
Expand Up @@ -287,7 +287,9 @@ def from_root_node(cls, key, root_identifier, root_node, schema=None, refresh_ex
info.set_schema_from_node(node, extension_manager)
except KeyError:
# if _tag is not a valid tag, no schema will be found
# and a KeyError will be raised
# and a KeyError will be raised. We don't raise the KeyError
# (or another exception) here as the node (object) might
# be using _tag for a non-ASDF purpose.
pass

else:
Expand Down

0 comments on commit c012e70

Please sign in to comment.