Commit 8d742b10 authored by Łukasz Nowak's avatar Łukasz Nowak

Typo.

parent 3c7fe462
...@@ -662,10 +662,10 @@ class SimulationMovement(PropertyRecordableMixin, Movement, ExplainableMixin): ...@@ -662,10 +662,10 @@ class SimulationMovement(PropertyRecordableMixin, Movement, ExplainableMixin):
# no direct business link set on movement, use predicate to find one # no direct business link set on movement, use predicate to find one
business_link_list = composed_document.getBusinessLinkValueList( business_link_list = composed_document.getBusinessLinkValueList(
context=current) context=current)
if len(business_link) == 0: if len(business_link_list) == 0:
raise ValueError('Business Link predicate matches too many ' raise ValueError('Business Link predicate matches too many '
'movements.') 'movements.')
if len(business_link) > 1: if len(business_link_list) > 1:
raise ValueError('Simulation Movement has no Business Link related ' raise ValueError('Simulation Movement has no Business Link related '
'and no Business Link from current Business Process matches') 'and no Business Link from current Business Process matches')
business_link = business_link_list[0].getRelativeUrl() business_link = business_link_list[0].getRelativeUrl()
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment