diff --git a/capella2polarion/converters/converter_config.py b/capella2polarion/converters/converter_config.py index 9d24b22c..44a6806c 100644 --- a/capella2polarion/converters/converter_config.py +++ b/capella2polarion/converters/converter_config.py @@ -199,8 +199,8 @@ def _force_link_config(self, links: t.Any) -> list[LinkConfig]: config = LinkConfig( capella_attr=(lid := link["capella_attr"]), polarion_role=add_prefix( - (pid := link.get("polarion_role", lid)), - self._role_prefix + (pid := link.get("polarion_role", lid)), + self._role_prefix, ), include=link.get("include", {}), link_field=(lf := link.get("link_field", pid)),