Skip to content

Commit

Permalink
Fix branch selection workflows.
Browse files Browse the repository at this point in the history
  • Loading branch information
riga committed Jan 24, 2023
1 parent da83811 commit 098ec08
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions law/workflow/base.py
Original file line number Diff line number Diff line change
Expand Up @@ -568,7 +568,7 @@ def _reset_branch_boundaries(self, full_branch_map):
# get minimum and maximum branches
branches = set(full_branch_map.keys())
min_branch = min(branches)
max_branch = max(branches)
max_branch = max(branches) + 1

# get expanded branch values
branches = range_expand(
Expand All @@ -595,7 +595,7 @@ def _reduce_branch_map(self, branch_map):
if self.branches:
branches = set(branch_map.keys())
min_branch = min(branches)
max_branch = max(branches)
max_branch = max(branches) + 1

requested = range_expand(
list(self.branches),
Expand Down

0 comments on commit 098ec08

Please sign in to comment.