'Called when the process ends, prints out the list of broken links.'

def end(self):

    if len(self._broken_links):
        om.out.information('The    following    is    a    list    of    broken    links    that    were    found    by    the    web_spider    plugin:')
        for (broken, where) in unique_justseen(self._broken_links.ordered_iter()):
            om.out.information(('-    %s    [    referenced    from:    %s    ]' % (broken, where)))
    self._broken_links.cleanup()
