Skip to content

Commit

Permalink
Fix possible type error
Browse files Browse the repository at this point in the history
  • Loading branch information
MetRonnie committed Oct 11, 2024
1 parent 322a894 commit 2790b5f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions cylc/flow/data_store_mgr.py
Original file line number Diff line number Diff line change
Expand Up @@ -947,7 +947,7 @@ def increment_graph_window(
)
for items in graph_children.values():
for child_name, child_point, _ in items:
if child_point > final_point:
if final_point and child_point > final_point:
continue
child_tokens = self.id_.duplicate(
cycle=str(child_point),
Expand Down Expand Up @@ -977,7 +977,7 @@ def increment_graph_window(
taskdefs
).values():
for parent_name, parent_point, _ in items:
if parent_point > final_point:
if final_point and parent_point > final_point:
continue
parent_tokens = self.id_.duplicate(
cycle=str(parent_point),
Expand Down

0 comments on commit 2790b5f

Please sign in to comment.