fix merge
This commit is contained in:
parent
e9d83f1fce
commit
bfa5ee8d74
@ -443,7 +443,7 @@ class Test(Widget):
|
|||||||
if step.step_type in ("leak_1", "leak_2"):
|
if step.step_type in ("leak_1", "leak_2"):
|
||||||
self.leak_step = step
|
self.leak_step = step
|
||||||
|
|
||||||
step_types = [step.type for step in steps]
|
step_types = [step.step_type for step in steps]
|
||||||
if "leak_1" in step_types and "leak_2" in step_types:
|
if "leak_1" in step_types and "leak_2" in step_types:
|
||||||
leak1_index = step_types.index("leak_1")
|
leak1_index = step_types.index("leak_1")
|
||||||
leak2_index = step_types.index("leak_2")
|
leak2_index = step_types.index("leak_2")
|
||||||
@ -454,7 +454,7 @@ class Test(Widget):
|
|||||||
# Insert 'instruction_extra' after the first 'instructions' if not inserted between leaks
|
# Insert 'instruction_extra' after the first 'instructions' if not inserted between leaks
|
||||||
if not inserted_instruction:
|
if not inserted_instruction:
|
||||||
for i, step in enumerate(steps):
|
for i, step in enumerate(steps):
|
||||||
if step.type == "instructions":
|
if step.step_type == "instructions":
|
||||||
steps.insert(i + 1, Step(step_type="instruction_extra", spec={}))
|
steps.insert(i + 1, Step(step_type="instruction_extra", spec={}))
|
||||||
inserted_instruction = True
|
inserted_instruction = True
|
||||||
break
|
break
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user