'This method is called when the plugin wont be used anymore.'

def end(self):

    pretty_msg = {}
    pretty_msg['motw'] = 'The    following    URLs    contain    a    MOTW:'
    for motw_type in pretty_msg:
        inform = []
        for i in kb.kb.get('motw', motw_type):
            inform.append(i)
        if len(inform):
            om.out.information(pretty_msg[motw_type])
            for i in inform:
                if ('local_machine' not in i):
                    om.out.information(('-    %s' % i.get_url()))
                else:
                    msg = '-    %s    [Executed    in    Local    machine    context]'
                    om.out.information((msg % i.get_url()))
