'This method is called when the scan finishes successfully of because
of an exception.'

def _scan_finished(self):

    om.manager.set_output_plugin_inst(GtkOutput())
    exception_list = self.w3af.exception_handler.get_unique_exceptions()
    if exception_list:
        self.sb(_('Scan    finished    with    exceptions'))
        self.exceptions_sb.show_all(len(exception_list))
