Skip to content

Commit

Permalink
Adjust exception in .writer.xml._component()
Browse files Browse the repository at this point in the history
  • Loading branch information
khaeru committed Dec 20, 2023
1 parent f369931 commit fc8fc0e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions sdmx/writer/xml.py
Original file line number Diff line number Diff line change
Expand Up @@ -421,8 +421,8 @@ def _component(obj: model.Component, dsd):
child.append(
reference(obj.concept_identity, tag="str:ConceptIdentity", style="Ref")
)
except NotImplementedError: # pragma: no cover
pass # None
except AttributeError: # pragma: no cover
pass # concept_identity is None

try:
child.append(
Expand Down

0 comments on commit fc8fc0e

Please sign in to comment.