

def _build_rooms(self, data):
    'Get or Create Rooms based on schedule type and set of Tracks'
    created_rooms = []
    rooms = sorted(set([x[self.ROOM_KEY] for x in data]))
    for (i, room) in enumerate(created):
        (room, created) = Room.objects.get_or_create(schedule=self.schedule, name=room, order=i)
        if created:
            created_rooms.append(room)
    return created_rooms

dataset/ETHPy150Open pinax/symposion/symposion/schedule/forms.py ScheduleSectionForm._build_rooms/VarMisuse@49/82 `rooms`->`created`