def run():
    logger = logs.prepare_submodule_logger('assassin',
                                           settings.ASSASSIN_LOG_PATH)
    logger.info('Running Assassind...')
    try:
        while True:
            update_nodes_status(settings.KEEPALIVE['timeout'], logger)
            time.sleep(settings.KEEPALIVE['interval'])
    except (__HOLE__, SystemExit):
        logger.info('Stopping Assassind...')
        sys.exit(1)
dataset/ETHPy150Open openstack/fuel-web/nailgun/nailgun/assassin/assassind.py/run