returns info stored by hook plugins
(self)
| 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): |