def __track_calling_view(self, window):
        """Remember the view that the command was run from (including the group and index positions),
        so we can return to the "calling" view if the user cancels the preview
        (or so we can show something if a file in the history no longer exists)"""
        if not self.calling_view:
            self.calling_view = window.active_view()
            if self.calling_view:
                self.calling_view_index = window.get_view_index(self.calling_view)
                self.calling_view_is_empty = len(window.views()) != 0
            else:
                self.calling_view_index = [0, 0]
                self.calling_view_is_empty = True
dataset/ETHPy150Open FichteFoll/FileHistory/file_history.py/FileHistory.__track_calling_view/operator `==` -> `!=`