Fix interesting syntax error in group_session_mapping, += was mistyped

as =+ which is legal (assignment followed by unary +)
 - Legacy-Id: 7059
This commit is contained in:
Ole Laursen 2013-12-23 16:59:21 +00:00
parent b4fa414406
commit 77bd8772b5

View file

@ -503,13 +503,13 @@ class Schedule(models.Model):
for sess in self.meeting.sessions_that_can_meet.all():
assignments[sess.group] = []
sessions[sess] = None
total =+ 1
total += 1
for ss in allschedsessions:
assignments[ss.session.group].append(ss)
# XXX can not deal with a session in two slots
sessions[ss.session] = ss
scheduled =+ 1
scheduled += 1
return assignments,sessions,total,scheduled
cached_sessions_that_can_meet = None