Skip to content

Commit 0ba095e

Browse files
committed
remove some dead code
- Legacy-Id: 9598
1 parent 525ad03 commit 0ba095e

2 files changed

Lines changed: 0 additions & 13 deletions

File tree

ietf/meeting/helpers.py

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -66,12 +66,7 @@ def build_all_agenda_slices(meeting):
6666
time_slices = []
6767
date_slices = {}
6868

69-
#for ts in meeting.timeslot_set.exclude(type__in=['reg','break']).order_by('time','name'):
70-
#for ts in meeting.timeslot_set.exclude(type__in=['reg','break','lead','offagenda','other']).order_by('time','name'):
7169
for ts in meeting.timeslot_set.filter(type__in=['session',]).order_by('time','name'):
72-
#for ts in meeting.timeslot_set.exclude(type__in=['reg','break','other']).order_by('time','name'):
73-
#for ts in meeting.timeslot_set.order_by('time','name'):
74-
#for ts in meeting.timeslot_set.filter(type='offagenda').order_by('time','name'):
7570
ymd = ts.time.date()
7671

7772
if ymd not in date_slices and ts.location != None:
@@ -85,12 +80,6 @@ def build_all_agenda_slices(meeting):
8580
time_slices.sort()
8681
return time_slices,date_slices
8782

88-
# Not Used
89-
#def get_scheduledsessions_from_schedule(schedule):
90-
# ss = schedule.scheduledsession_set.filter(timeslot__location__isnull = False).exclude(session__isnull = True).order_by('timeslot__time','timeslot__name','session__group__group')
91-
#
92-
# return ss
93-
9483
def get_all_scheduledsessions_from_schedule(schedule):
9584
ss = schedule.scheduledsession_set.filter(timeslot__location__isnull = False)
9685
ss = ss.filter(session__type__slug='session')

ietf/meeting/views.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -259,8 +259,6 @@ def edit_agenda(request, num=None, owner=None, name=None):
259259
meeting_base_url = request.build_absolute_uri(meeting.base_url())
260260
site_base_url = request.build_absolute_uri('/')[:-1] # skip the trailing slash
261261

262-
#rooms = meeting.room_set.order_by("capacity")
263-
#rooms = rooms.all()
264262
rooms = meeting.room_set.filter(session_types__slug='session').distinct().order_by("capacity")
265263
saveas = SaveAsForm()
266264
saveasurl=reverse(edit_agenda,

0 commit comments

Comments
 (0)