MCPcopy Index your code
hub / github.com/pyload/pyload / findPlugin

Method findPlugin

module/plugins/PluginManager.py:262–266  ·  view source on GitHub ↗
(self, name, pluginlist=("hoster", "crypter", "container"))

Source from the content-addressed store, hash-verified

260 return res
261
262 def findPlugin(self, name, pluginlist=("hoster", "crypter", "container")):
263 for ptype in pluginlist:
264 if name in self.plugins[ptype]:
265 return self.plugins[ptype][name], ptype
266 return None, None
267
268 def getPlugin(self, name, original=False):
269 """return plugin module from hoster|decrypter|container"""

Callers 3

getPluginMethod · 0.95
getPluginNameMethod · 0.95
init_pluginMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected