def build_no_log_generator(container, log_args):
 (yield u"WARNING: no logs are available with the '{}' log driver\n".format(container.log_driver))

def build_no_log_generator ( container , log_args ) : ( yield u"WARNING: no logs are available with the '{}' log driver\n" . format ( container . log_driver ) )
return a generator that prints a warning about logs and waits for container to exit .