From f63df28e64364289655e083f7dc9a5e3b6cd2f7b Mon Sep 17 00:00:00 2001 From: Michael Harbarth Date: Tue, 29 Oct 2024 13:54:47 +0100 Subject: [PATCH 1/2] chore: Update dependencies --- pyproject.toml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pyproject.toml b/pyproject.toml index fca25fb..0427775 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -29,10 +29,10 @@ classifiers = [ ] dependencies = [ "capellambse>=0.6.6,<0.7", - "capellambse_context_diagrams>=0.4.0", + "capellambse_context_diagrams>=0.5.0,<0.6", "click", "PyYAML", - "polarion-rest-api-client==1.2.0", + "polarion-rest-api-client==1.2.1", "bidict", "cairosvg", "jinja2", From 90edb0ba127e0df215fabeb3c1f2fab58016e7d0 Mon Sep 17 00:00:00 2001 From: Michael Harbarth Date: Tue, 29 Oct 2024 15:46:00 +0100 Subject: [PATCH 2/2] fix: align conditions to center again --- capella2polarion/converters/element_converter.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/capella2polarion/converters/element_converter.py b/capella2polarion/converters/element_converter.py index 3547198..9de4c2e 100644 --- a/capella2polarion/converters/element_converter.py +++ b/capella2polarion/converters/element_converter.py @@ -460,7 +460,7 @@ def get_condition(cap: m.ModelElement, name: str) -> str: if not (condition := getattr(cap, name)): return "" _, value, _ = self._sanitize_linked_text(condition) - return value + return f'
{value}
' pre_condition = get_condition(obj, "precondition") post_condition = get_condition(obj, "postcondition")