def _log_results(victims_output):
    'Log results.'
    cve_id = victims_output.cve.id_
    logger.info('[{cve_id}] picked `{winner}` out of `{candidates}`'.format(cve_id=cve_id, winner=victims_output.winner, candidates=victims_output.candidates))
    logger.info('[{cve_id}] Affected version range: {version_ranges}'.format(cve_id=cve_id, version_ranges=victims_output.affected_versions))
    logger.info('[{cve_id}] Safe version range: {version_ranges}'.format(cve_id=cve_id, version_ranges=victims_output.safe_versions))
Log results.
def _log_results(victims_output):
    
    cve_id = victims_output.cve.id_
    logger.info('[{cve_id}] picked `{winner}` out of `{candidates}`'.format(cve_id=cve_id, winner=victims_output.winner, candidates=victims_output.candidates))
    logger.info('[{cve_id}] Affected version range: {version_ranges}'.format(cve_id=cve_id, version_ranges=victims_output.affected_versions))
    logger.info('[{cve_id}] Safe version range: {version_ranges}'.format(cve_id=cve_id, version_ranges=victims_output.safe_versions))