Skip to content

Commit

Permalink
Merge branch 'context-diagram-checksums' into dev-test
Browse files Browse the repository at this point in the history
  • Loading branch information
micha91 committed Oct 29, 2024
2 parents 5d31c54 + 393e113 commit b1f8063
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 6 deletions.
11 changes: 6 additions & 5 deletions capella2polarion/connectors/polarion_worker.py
Original file line number Diff line number Diff line change
Expand Up @@ -146,11 +146,12 @@ def delete_orphaned_work_items(
):
logger.info("Delete work item %r...", wi.id)
work_items.append(wi)
try:
self.project_client.work_items.delete(work_items)
except polarion_api.PolarionApiException as error:
logger.error("Deleting work items failed. %s", error.args[0])
raise error

try:
self.project_client.work_items.delete(work_items)
except polarion_api.PolarionApiException as error:
logger.error("Deleting work items failed. %s", error.args[0])
raise error

self.polarion_data_repo.remove_work_items_by_capella_uuid(uuids)

Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ dependencies = [
"capellambse_context_diagrams>=0.5.0,<0.6",
"click",
"PyYAML",
"polarion-rest-api-client==1.2.1",
"polarion-rest-api-client==1.2.2",
"bidict",
"cairosvg",
"jinja2",
Expand Down

0 comments on commit b1f8063

Please sign in to comment.