def _set_log_view(self, session):
if self._log_view == COMPARATIVE:<EOL><INDENT>try:<EOL><INDENT>session.use_comparative_log_view()<EOL><DEDENT>except AttributeError:<EOL><INDENT>pass<EOL><DEDENT><DEDENT>else:<EOL><INDENT>try:<EOL><INDENT>session.use_plenary_log_view()<EOL><DEDENT>except AttributeError:<EOL><INDENT>pass<EOL><DEDENT><DEDENT>
Sets the underlying log view to match current view