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