def removeFromTopic(self):
        rows = self.getSelectedRows(ProjectRow)
        rows = [r for r in rows if r.topic_key]
        if not rows:
            return
        with self.app.db.getSession() as session:
            for row in rows:
                project = session.getProject(row.project_key)
                topic = session.getTopic(row.topic_key)
                self.log.debug((project, topic) % "Remove %s from %s")
                topic.removeProject(project)
        self.refresh()
dataset/ETHPy150Open openstack/gertty/gertty/view/project_list.py/ProjectListView.removeFromTopic/swapped operands of `%`