def get_context_data(self, *args, **kwargs):
        context = super(AgendaVoteDetailView, self).get_context_data(*args, **kwargs)
        agendavote = context['object']
        vote = agendavote.vote
        agenda = agendavote.agenda
        try:
            context['title'] = _("Comments on agenda %(agenda)s vote %(vote)s") % {
                  'vote':vote.title,
                  'agenda':agenda.name}
        except AttributeError:
            context['title'] = _('None')
            logger.error((agenda.id,vote.id) % 'Attribute error trying to generate title for agenda %d vote %d')
        return context
dataset/ETHPy150Open ofri/Open-Knesset/agendas/views.py/AgendaVoteDetailView.get_context_data/swapped operands of `%`