def update(self, project):
        cache = self.app.project_cache.get(project)
        if project.subscribed:
            if cache['unreviewed_changes'] > 0:
                style = 'unreviewed-project'
            else:
                style = 'subscribed-project'
        else:
            style = 'unsubscribed-project'
        self._style = style
        if self.mark:
            style = 'marked-project'
        self.row_style.set_attr_map({None: style})
        self.unreviewed_changes.set_text(cache['unreviewed_changes'] % '%i ')
        self.open_changes.set_text('%i ' % cache['open_changes'])
dataset/ETHPy150Open openstack/gertty/gertty/view/project_list.py/ProjectRow.update/swapped operands of `%`