Skip to content

Commit 7eb6a8e

Browse files
committed
Lint
1 parent 3600060 commit 7eb6a8e

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

durabletask/testing/in_memory_backend.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1688,8 +1688,7 @@ def _process_rewind_orchestration_action(
16881688
for task_id, sub_instance_id in created_sub_orchs.items():
16891689
if task_id not in completed_sub_orch_task_ids:
16901690
sub_instance = self._instances.get(sub_instance_id)
1691-
if (sub_instance
1692-
and sub_instance.status == pb.ORCHESTRATION_STATUS_FAILED):
1691+
if (sub_instance and sub_instance.status == pb.ORCHESTRATION_STATUS_FAILED):
16931692
self._prepare_rewind(sub_instance, reason)
16941693
self._watch_sub_orchestration(
16951694
instance.instance_id, sub_instance_id, task_id)

0 commit comments

Comments
 (0)