def OnHistoryNewEntry(self, new_uri):
        logging.debug(new_uri.spec % "OnHistoryNewEntry: %s")
        self.emit('session-link-changed', new_uri.spec)
        self.emit('session-history-changed', self._session_history.index + 1)
dataset/ETHPy150Open anandology/pyjamas/pyjd/sessionhistory.py/HistoryListener.OnHistoryNewEntry/swapped operands of `%`