'Caches the plugin instance.
:param path: where the user is in the plugin list
:return The plugin'

def get_plugin_inst(self, path):

    try:
        return self.plugin_instances[path]
    except KeyError:
        pass
    pname = self.liststore[path][1]
    plugin = self.w3af.plugins.get_plugin_inst('attack', pname)
    plugin.pname = pname
    plugin.ptype = 'attack'
    self.plugin_instances[path] = plugin
    return plugin
