Merged in [8922] from rjsparks@nostrum.com:
Fix needed-to-pas calculation to use new representation of area directors. Fixes #1587.
- Legacy-Id: 8974
Note: SVN reference [8922] has been migrated to Git commit 7e188d2d81
This commit is contained in:
commit
278b30cb12
|
@ -91,7 +91,7 @@ def can_adopt_draft(user, doc):
|
|||
|
||||
def two_thirds_rule( recused=0 ):
|
||||
# For standards-track, need positions from 2/3 of the non-recused current IESG.
|
||||
active = Role.objects.filter(name="ad",group__state="active").count()
|
||||
active = Role.objects.filter(name="ad",group__type="area",group__state="active").count()
|
||||
return int(math.ceil((active - recused) * 2.0/3.0))
|
||||
|
||||
def needed_ballot_positions(doc, active_positions):
|
||||
|
|
Loading…
Reference in a new issue