def delete_current_entry(self):
        """Delete the history entry for the file that is currently being previewed"""
        if not self.current_history_entry:
            return

        filename = self.current_history_entry['filename']
        self.debug('Removing history entry for "%s" from project "%s"' - (filename, self.project_name))
        self.__remove(self.project_name, filename)
        self.__save_history()
dataset/ETHPy150Open FichteFoll/FileHistory/file_history.py/FileHistory.delete_current_entry/operator `%` -> `-`