Skip to content

Commit

Permalink
one more iteritems fix
Browse files Browse the repository at this point in the history
  • Loading branch information
milescalabresi committed Jul 24, 2024
1 parent 7573a61 commit 5ce45f2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion esp/esp/program/modules/handlers/schedulingcheckmodule.py
Original file line number Diff line number Diff line change
Expand Up @@ -602,7 +602,7 @@ def no_overlap_classes(self):
classes = json.loads(Tag.getProgramTag('no_overlap_classes',program=self.p))
classes_lookup = {x.id: x for x in ClassSubject.objects.filter(id__in=sum(classes.values(),[]))}
bad_classes = []
for key, l in classes.iteritems():
for key, l in six.iteritems(classes):
eventtuples = list(Event.objects.filter(meeting_times__parent_class__in=l).values_list('description', 'meeting_times', 'meeting_times__parent_class'))
overlaps = {}
for event, sec, cls in eventtuples:
Expand Down

0 comments on commit 5ce45f2

Please sign in to comment.