'Load a plugin'

def add_plugin(self, p):

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