def get_plugin(name):
 if (internal._REGISTRY is None):
  raise NoSuchPluginException(("Could not load plugin {0} because the registry either hasn't " + 'been loaded or has just been unloaded.'.format(name)))
 return internal._REGISTRY[name]

def get_plugin ( name ) : if ( internal . _REGISTRY is None ) : raise NoSuchPluginException ( ( "Could not load plugin {0} because the registry either hasn't " + 'been loaded or has just been unloaded.' . format ( name ) ) ) return internal . _REGISTRY [ name ]
get an instance of a active plugin by name .