Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Diag layer refactoring spinoffs #327

Merged
merged 6 commits into from
Aug 2, 2024
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 1 addition & 2 deletions odxtools/comparamspec.py
Original file line number Diff line number Diff line change
Expand Up @@ -51,8 +51,7 @@ def from_et(et_element: ElementTree.Element, doc_frags: List[OdxDocFragment]) ->

def _build_odxlinks(self) -> Dict[OdxLinkId, Any]:
odxlinks: Dict[OdxLinkId, Any] = {}
if self.odx_id is not None:
odxlinks[self.odx_id] = self
odxlinks[self.odx_id] = self
kayoub5 marked this conversation as resolved.
Show resolved Hide resolved

if self.admin_data is not None:
odxlinks.update(self.admin_data._build_odxlinks())
Expand Down