Skip to content

Commit

Permalink
Merge branch 'fix-descr-reference-links' of github.com:DSD-DBS/capell…
Browse files Browse the repository at this point in the history
…a-polarion into fix-descr-reference-links
  • Loading branch information
ewuerger committed Dec 7, 2023
2 parents aa71cf1 + 8851a31 commit ee8e1bc
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions capella2polarion/elements/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -242,8 +242,8 @@ def _fix_components(
"BEHAVIOR_actor": ([], "PhysicalActorBehavior"),
}
for obj in elements.get("PhysicalComponent", []):
is_actor = "_actor" if obj.is_actor else ""
container, xtype = nature_mapping[f"{str(obj.nature)}{is_actor}"]
postfix = "_actor" if obj.is_actor else ""
container, xtype = nature_mapping[f"{str(obj.nature)}{postfix}"]
container.append(obj)
type_map[obj.uuid] = xtype

Expand Down

0 comments on commit ee8e1bc

Please sign in to comment.