Fix missing parentheses in needed position calculations.

- Legacy-Id: 4279
This commit is contained in:
Ole Laursen 2012-04-16 17:24:57 +00:00
parent 24dd2ed521
commit 1ce4444732

View file

@ -71,7 +71,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 = (len(active_positions) - len(recuse)) * 2 // 3
have = len(yes) + len(noobj) + len(blocking)
if have < needed: