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

Method getInfo

module/HookManager.py:284–290  ·  view source on GitHub ↗
(self, plugin)

Source from the content-addressed store, hash-verified

282
283
284 def getInfo(self, plugin):
285 info = {}
286 if plugin in self.pluginMap and self.pluginMap[plugin].info:
287 info = dict([(x, str(y) if not isinstance(y, basestring) else y)
288 for x, y in self.pluginMap[plugin].info.iteritems()])
289
290 return info
291
292 def addEvent(self, event, func):
293 """Adds an event listener for event name"""

Callers 2

getInfoByPluginMethod · 0.80
fetchForPluginMethod · 0.80

Calls 2

dictFunction · 0.85
iteritemsMethod · 0.45

Tested by

no test coverage detected