def wait_for_command(logs_generator):
    logger.info("wait_for_command")
    cr = CommandResult()
    while True:
        try:
            item = next(logs_generator)  # py2 & 3 compat
            cr.parse_item(item)
        except StopIteration:
            logger.info("no more logs")
            break
    return cr
Returns a native representation of the display_field property.
dataset/ETHPy150Open projectatomic/atomic-reactor/atomic_reactor/util.py/wait_for_command--crossover with--dataset/ETHPy150Open ExCiteS/geokey/geokey/contributions/serializers.py/ContributionSerializer.get_display_field