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

Method getAllInfo

module/HookManager.py:274–281  ·  view source on GitHub ↗

returns info stored by hook plugins

(self)

Source from the content-addressed store, hash-verified

272 return [x for x in self.plugins if x.isActivated()]
273
274 def getAllInfo(self):
275 """returns info stored by hook plugins"""
276 info = {}
277 for name, plugin in self.pluginMap.iteritems():
278 if plugin.info:
279 #copy and convert so str
280 info[name] = dict([(x, str(y) if not isinstance(y, basestring) else y) for x, y in plugin.info.iteritems()])
281 return info
282
283
284 def getInfo(self, plugin):

Callers

nothing calls this directly

Calls 2

dictFunction · 0.85
iteritemsMethod · 0.45

Tested by

no test coverage detected