Fixed the ballots needed count error in two more places. See issue #974.
- Legacy-Id: 5626
This commit is contained in:
parent
55626b8523
commit
fb1df9e2eb
|
@ -589,7 +589,7 @@ class InternetDraft(Document):
|
|||
if standardsTrack:
|
||||
# For standards-track, need positions from 2/3 of the
|
||||
# non-recused current IESG.
|
||||
needed = int((len(ads) - recuse) * 2 / 3)
|
||||
needed = int(math.ceil((len(ads) - recuse) * 2.0/3.0))
|
||||
else:
|
||||
# Info and experimental only need one position.
|
||||
# Info and experimental without Yes have their full spec now.
|
||||
|
|
|
@ -58,7 +58,7 @@ def needed_ballot_positions(doc, active_positions):
|
|||
if doc.type_id == "draft" and doc.intended_std_level_id in ("bcp", "ps", "ds", "std"):
|
||||
# For standards-track, need positions from 2/3 of the
|
||||
# non-recused current IESG.
|
||||
needed = (len(active_positions) - len(recuse)) * 2 // 3
|
||||
needed = math.ceil((len(active_positions) - len(recuse)) * 2.0/3.0)
|
||||
else:
|
||||
if len(yes) < 1:
|
||||
return " ".join(answer)
|
||||
|
|
Loading…
Reference in a new issue