Skip to content

Commit

Permalink
merge: Solved bug in ComponentExchange.exchange_items (#222)
Browse files Browse the repository at this point in the history
  • Loading branch information
Wuestengecko committed Jan 10, 2023
2 parents 76257e9 + 530e377 commit a89fd0a
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion capellambse/model/crosslayer/fa.py
Original file line number Diff line number Diff line change
Expand Up @@ -224,7 +224,8 @@ def owner(self) -> cs.PhysicalLink | cs.PhysicalPath | None:
def exchange_items(
self,
) -> c.ElementList[information.ExchangeItem]:
items = self.allocated_exchange_items
items = c.ElementList(self._model, [], information.ExchangeItem)
items.extend(self.allocated_exchange_items)
func_exchanges = self.allocated_functional_exchanges
assert isinstance(func_exchanges, cabc.Iterable)
for exchange in func_exchanges:
Expand Down

0 comments on commit a89fd0a

Please sign in to comment.