'Unload a plugin'

def remove_plugin(self, p):

    self.plugin_list.remove(p)
    log.debug('Removing    {}    plugin'.format(p.name))
    for (mthd, pmthd) in self.mthdDict.iteritems():
        try:
            self.plugin_mthds[mthd].remove(getattr(p, pmthd))
        except KeyError:
            pass
