(self, plugin)
| 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""" |
no test coverage detected