Skip to content

Commit ac52ce6

Browse files
committed
Updated the NomCom eligibility calculation to use the last 5 in-person meetings, in accordance with draft-iesg-nomcom-eligibility-2020-03 which has now been approved for publication. The code will need revisiting when the long-term policy is available.
- Legacy-Id: 17859
1 parent 950f182 commit ac52ce6

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

ietf/nomcom/views.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1244,7 +1244,9 @@ def eligible(request, year):
12441244
# today's date makes sense; for previous nomcoms, we should probably get
12451245
# the date of the announcement of the Call for Volunteers, instead
12461246
date = datetime.date.today()
1247-
previous_five = Meeting.objects.filter(type='ietf',date__lte=date).order_by('-date')[:5]
1247+
previous_five = ( Meeting.objects.filter(type='ietf',date__lte=date)
1248+
.exclude(city='').exclude(city='Virtual')
1249+
.order_by('-date')[:5] )
12481250
log.assertion("len(previous_five) == 5")
12491251
attendees = {}
12501252
potentials = set()

0 commit comments

Comments
 (0)