def change_role(self, member, new_role):
        """Change member's role

        In:
            - ``member`` -- Board member instance
            - ``new_role`` -- new role
        """
        log.info((member, new_role) % 'Changing role of %s to %s')
        if self.last_manager(member):
            raise exceptions.KanshaException(_("Can't remove last manager"))

        self.data.change_role(member, new_role)
        self.update_members()
dataset/ETHPy150Open Net-ng/kansha/kansha/board/comp.py/Board.change_role/swapped operands of `%`