Did I find the right examples for you? yes no      Crawl my project      Python Jobs

All Samples(5)  |  Call(5)  |  Derive(0)  |  Import(0)

src/b/3/b3-1.9.2/b3/plugins/stats.py   b3(Download)
    def onStartup(self):
        self._adminPlugin = self.console.getPlugin('admin')
        if not self._adminPlugin:
            self.critical('Cannot find the admin plugin. Disabling Stats plugin')
            self.disable()

src/b/3/b3-plugin-chatlogger-HEAD/extplugins/chatlogger.py   b3-plugin-chatlogger(Download)
        if not (self._save2db or self._save2file):
            self.warning("your config explicitly specify to log nowhere. Disabling plugin")
            self.disable()
 
        if self._save2db:

src/b/i/big-brother-bot-HEAD/b3/plugins/stats.py   big-brother-bot(Download)
    def onStartup(self):
        self._adminPlugin = self.console.getPlugin('admin')
        if not self._adminPlugin:
            self.critical('Cannot find the admin plugin. Disabling Stats plugin')
            self.disable()

src/b/3/b3-plugin-telnet-HEAD/extplugins/telnet/__init__.py   b3-plugin-telnet(Download)
            # something is wrong, can't start without admin plugin
            self.error('Could not find admin plugin')
            self.disable()
            return
 
 
        if not self.allGoodToStart:
            self.disable()
 
        if 'commands' in self.config.sections():