Skip to content

Commit fb1df9e

Browse files
committed
Fixed the ballots needed count error in two more places. See issue ietf-tools#974.
- Legacy-Id: 5626
1 parent 55626b8 commit fb1df9e

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

ietf/doc/proxy.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -589,7 +589,7 @@ def needed(self, standardsTrack=True):
589589
if standardsTrack:
590590
# For standards-track, need positions from 2/3 of the
591591
# non-recused current IESG.
592-
needed = int((len(ads) - recuse) * 2 / 3)
592+
needed = int(math.ceil((len(ads) - recuse) * 2.0/3.0))
593593
else:
594594
# Info and experimental only need one position.
595595
# Info and experimental without Yes have their full spec now.

ietf/doc/utils.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ def needed_ballot_positions(doc, active_positions):
5858
if doc.type_id == "draft" and doc.intended_std_level_id in ("bcp", "ps", "ds", "std"):
5959
# For standards-track, need positions from 2/3 of the
6060
# non-recused current IESG.
61-
needed = (len(active_positions) - len(recuse)) * 2 // 3
61+
needed = math.ceil((len(active_positions) - len(recuse)) * 2.0/3.0)
6262
else:
6363
if len(yes) < 1:
6464
return " ".join(answer)

0 commit comments

Comments
 (0)