Did I find the right examples for you? yes no

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

        def debug(message):
    return LogMessage('debug', message).write()
        


src/d/e/delgado-0.0.1/delgado/server.py   delgado(Download)
    def run_forever(self):
        while True:
            try:
                logger.debug('creating a new connection')
                self.run()
        s.listen(1)
        conn, addr = s.accept()
        logger.debug('connection ready and listenting')
        return conn
 
        finally:
            conn.close()
            logger.debug('connection closed')
 

src/d/e/delgado-0.0.1/delgado/main.py   delgado(Download)
    for ep in entry_points:
        try:
            logger.debug('loading %s' % ep.name)
            plugin = ep.load()
            plugin._delgado_name_ = ep.name